Execute the following command:
hmbatch.exe-tclfluent_batch.tcl
where fluent_batch.tcl has the following contents:
set ALTAIR_HOME [hm_info -appinfo ALTAIR_HOME]
set output_template "$ALTAIR_HOME/templates/feoutput/cfd/general"
*templatefileset "$output_template"
*readfile "C:/home/pipe.hm"
*set fileName "C:/home/pipe_out.cas"
*evaltclscript "$ALTAIR_HOME/hm/scripts/cfd/cfd_comm_proc.tcl" 0
*evaltclscript "$ALTAIR_HOME/hm/scripts/cfd/cfd_proc.tbc" 0
*evaltclstring "CfdCommProc_Fluent_save_msh$fileName"0
This will read in pipe.hm and export the mesh as pipe_out.cas in FLUENT format.
|