Generate different files for different meshes
Posted: Thu Jan 08, 2015 3:12 pm
Good day,
I know that GID generates one file per each .bas file that it finds within the problem type folder but what if I want to generate a number of files dependent on the input of the problem type? i.e I want one mesh for a solid and a different mesh for a fluid on separate files.
Until now I can generate a big mesh with the description of both mesh and solids and I can arrange them in groups but I don't really know how to tell gid to print them in separate files.
Should I do this throgh a TCL command called printMesh for example? To this function i would pass elements and id and it prints mesh. Is there a more direct way?
By the way I would like to thank you for your kind and quick replies to my past inquires.
Regards,
I know that GID generates one file per each .bas file that it finds within the problem type folder but what if I want to generate a number of files dependent on the input of the problem type? i.e I want one mesh for a solid and a different mesh for a fluid on separate files.
Until now I can generate a big mesh with the description of both mesh and solids and I can arrange them in groups but I don't really know how to tell gid to print them in separate files.
Should I do this throgh a TCL command called printMesh for example? To this function i would pass elements and id and it prints mesh. Is there a more direct way?
By the way I would like to thank you for your kind and quick replies to my past inquires.
Regards,