February 8, 2023, 15:05
|
Interpolate solutions from a fine mesh to a coarse mesh for every timestep
|
#1
|
|
New Member
Join Date: Feb 2023
Location: USA
Posts: 1
Rep Power: 0
|
Hello,
I did a CFD-Simulation on a fine triangular mesh with ~1000 timesteps. I need to Interpolate the Solution for everytimestep onto the new coarse cartesian mesh. Both mesh have the same Geometriy, except for a small wall on the fine mesh. But thats no problem because ansys interpolates data into where the wall was.
The way I do it currently is (for e.g. 10 timesteps): run a simulation on fine mesh --> write Interpolate file at time step 10 --> go to Solution files and read the Solution at timestep 9--> write Interpolate file at timestep 9 --> go to Solution files and read the Solution at timestep 8 --> write Interpolate file at timestep 8 ->.... do that for every time step and after that:
Open fluent with coarse mesh --> Read the Interpolate File at time step 1 --> Export Solution data at timestep 1--> Read the Interpolate File at time step 2 --> Export Solution data at timestep 2 --> repeat until last timestep.
For a Simulation with 1000 timesteps, it would take too long to do it manually. Can I for example write the Interpolate file for everytime while the calculation is running. That would atleast save some time.
Thanks
|
|
|