Dear all,

I noticed that whenever I have *Surface in the ABAQUS .inp file, libmesh
cannot read it. I thought this was implemented according to here:
https://libmesh.github.io/doxygen/classlibMesh_1_1AbaqusIO.html#a2a125c1845edc4c3a6fad266fc76cbfd


I have a very short dummy mesh (9 nodes in a unit cube) and a short libmesh
C++ codethat I tested with (attached). whenever I run this with the example
file, it says:

Stream is bad! Perhaps the file: testcube.inp does not exist?

Could anyone please help comment?

Best,
Shawn


-- 
Yuxiang "Shawn" Wang, PhD
yw...@virginia.edu
+1 (434) 284-0836
#include <iostream>
#include "libmesh/libmesh.h"
#include "libmesh/mesh.h"

using namespace libMesh;

int main (int argc, char ** argv)
{
  LibMeshInit init (argc, argv);

  Mesh mesh(init.comm());

  std::string input_fname = argv[1];

  // Read the input mesh.
  mesh.read (input_fname);

  // Print information about the mesh to the screen.
  mesh.print_info();

  // Save to file
  std::string output_fname = argv[2];
  mesh.write (output_fname);

  return 0;
}
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to