getTGridInput - Generate code to read meshes from TGrid
Calling sequence:
getTGridInput(params_list):
Parameters
params_list - A list of scalar input parameters.
Synopsis:
- Generates the code to read 3D tetrahedral meshes generated by TGrid. When the solver is run it expects to find a file called volume.msh containing the mesh.
- Boundary conditions are specified in bcdef.mshdat, with one set of conditions per face id, as specified in volume.msh. bcdef.mshdat is supplied by the user aned can be edited as desired.
- getTGridInput also generates code to read the scalar parameters that are specified in params_list from standard input. getTGridInput writes a file called indata_sample in the work directory, which can be used as a template for a file specifying all input parameters. After editing indata_sample , the parameter values are conveniently passed to the solver by the command a.out < indata_sample.
Examples:
> # get files to read input from femlab;
> getTGridInput(params_list)
rdinpt.f
rdpara.f
indata_sample