Dear all,
I am now using command "move mesh" to move stl walls, the velocity of the wall will change with the time, shown as the variable "v_vyl".
fix leftwall all mesh/surface/stress file meshes/leftwall.stl type 2
fix moveleft all move/mesh mesh leftwall linear/variable v_zero v_vyl v_zero
If I want to obtain the total displacement of the wall, which command should I use? I mean how to calculate the accumulated displacement of a wall, i.e dtotal=d1+d2+d3.......(d1,d2,d3 are different coz the wall has various velocity with time) Could anyone give me some clues?
Best regards,
Zheng
tala | Sat, 10/21/2017 - 13:05
Dear Zheng
Dear Zheng
You can have wall position by "dump mesh/stl" command. By subtracting the latest position from first position, the accumulated displacement can be obtained.
Regrads
Zheng Hu | Sun, 10/22/2017 - 22:57
Thanks Talat
Dear Talat,
This method does work, thanks for your kind help. After obtaining the stl mesh position, I can calculate the accumulated displacement now.
Also, I am considering whether there is a better way to obtain the accumulated displacement of wall at every step and save as variable, in this way one can calculate the pressure acting on the wall directly just within the script, i.e. mean_pressure=targetforce/areas.
But anyway I will use your method at this stage and thanks again for your help.
Regards,
Zheng