🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Overwrite in batchmesh

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hello everyone, 

 

is it possible to include a syntax in the batch mesh script which defines that the newly created fe output should replace or overwrite the existing fe output in the same name? For instance, if the existing file is named as 'dyna.key', then I make some changes to the geometry and mesh it again, it should not be saved as dyna_1.key (which is now) but should overwrite the existing dyna.key every time. 

 

the script looks like 

 

-nogui -cad_translator step -cad_model_file E:\Datei\Results\Optimization\LS_OPT_results\Optimization_model_1\Schweller.stp -criteria_file C:\FK-Programme\Altair\hm\batchmesh\crash_5mm.criteria -param_file C:\FK-Programme\Altair\hm\batchmesh\crash_5mm.param -user_procedure POST_BATCHMESH C:\FK-Programme\Altair\hm\batchmesh\ExportMesh.tcl exportmesh 'dyna'  -work_dir E:\Datei\Results\Optimization\LS_OPT_results\Optimization_model_1

 

 

Thank you. any suggestion will be greatly appreciated.

 

 

Find more posts tagged with