artisynth.core.femmodels
Class AbaqusReader

java.lang.Object
  extended by artisynth.core.femmodels.AbaqusReader

public class AbaqusReader
extends java.lang.Object

Abaqus File reader, only supports the NODE, ELEMENT and INCLUDE keywords

Author:
Antonio

Nested Class Summary
static class AbaqusReader.ElemType
           
 
Field Summary
static java.lang.String COMMENT
           
static char KEYWORD
           
 
Constructor Summary
AbaqusReader()
           
 
Method Summary
static void read(FemModel3d model, java.io.File file, double density)
          Creates an FemModel with uniform density based on Abaqus data contained in a specified file.
static void read(FemModel3d model, java.io.Reader fileReader, double density, java.io.File[] includeDirs)
          Creates an FemModel with uniform density based on Abaqus data contained in a specified file
static void read(FemModel3d model, java.lang.String fileName, double density)
          Creates an FemModel with uniform density based on Abaqus data contained in a specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT

public static final java.lang.String COMMENT
See Also:
Constant Field Values

KEYWORD

public static final char KEYWORD
See Also:
Constant Field Values
Constructor Detail

AbaqusReader

public AbaqusReader()
Method Detail

read

public static void read(FemModel3d model,
                        java.lang.String fileName,
                        double density)
                 throws java.io.IOException
Creates an FemModel with uniform density based on Abaqus data contained in a specified file.

Parameters:
model - FEM model to be populated by Abaqus data
fileName - path name of the ANSYS node file
density - density of the model
Throws:
java.io.IOException - if this is a problem reading the file

read

public static void read(FemModel3d model,
                        java.io.File file,
                        double density)
                 throws java.io.IOException
Creates an FemModel with uniform density based on Abaqus data contained in a specified file.

Parameters:
model - FEM model to be populated by Abaqus data
file - the ANSYS node file
density - density of the model
Throws:
java.io.IOException - if this is a problem reading the file

read

public static void read(FemModel3d model,
                        java.io.Reader fileReader,
                        double density,
                        java.io.File[] includeDirs)
                 throws java.io.IOException
Creates an FemModel with uniform density based on Abaqus data contained in a specified file

Parameters:
model - FEM model to be populated by Abaqus data
fileReader - reader supplying node and element data in the Abaqus format
density - density of the model
Throws:
java.io.IOException - if this is a problem reading the file