Fluent wall motion specified in the form of array of velocity with corresponding time
I want to simulate a piston moving in a chamber.
I have the velocity of the piston as an array with corresponding time. vel = [time1 vel1 time2 vel2 time3 vel3 ...] How can i specify this as a udf? What precaution I need to follow when defining my time step here and in fluent while solving. Thanks |
ansys fluent customization manual
start with DEFINE_CG_MOTION macro regarding your table: you may make 2 arrays: time = {time1, time2, ... ,timen} velocity = {vel1,vel2,...,veln} size of arrays shoulb be same in this approach check time and define velocity according to your time part of code you may use Code:
temp_time = CURRENT_TIME; |
All times are GMT -4. The time now is 08:55. |