Remeshing for Rotation in CFX via ICEMCFD
Dear All,
Could anyone please help me to make remeshing for rotation in ANSYS CFX through ICEMCFD. I know how to do it for linear motion, but I would like to understand how to do remeshing for rotation. In order to do linear motion of a body with remeshing I use two scripts: 1st script looks like this: Code:
set MeshFile {*.mesh} The last two lines are the most important: “set GeomCtrlFile {*/icemcfd_GeomCtrl.rpl}” shows path to the rpl-script for ICEM CFD. “set Displacement(INTER_CUBE) {0.430043637752533 0.430043637752533 0.430043548345566}” says that we need to do displacement. Question #1: how to change command “Displacement” to rotation? Do I need just to write “Rotation”? For rotation, it is necessary to define axis and rotation origin. Script “icemcfd_GeomCtrl.rpl” looks like this: Code:
# ICEM CFD geometry update script Question #2: What should I write in order to make rotation? As a result of all actions, I should have a body that rotates. At each time step, mesh must be reconstructed automatically (remeshing). Sliding interfaces should not be considered. Any other options to make rotation are also welcome. Thank you! |
Isn't it just the same problem, only instead of linear displacement you have circumferential displacement described in two axis by something like:
x=-sin(omega*t) y=cos(omega*t) Where omega is your rotational speed and t is simulation time. |
Quote:
|
Dear JuPa,
thank you for your answer. I also thought in this way. However, it was necessary to change the command "displacement" or to apply it for each cell, which is a separate domain. Dear Lance, thank you for the answer. User Defined Remeshing looks good alternative (the only one). |
All times are GMT -4. The time now is 05:10. |