Displacements with the morpher model
I have a problem with the displacements I want to impose on a wall boundary, using the morpher model. I simulate the flow over an hydrofoil and I want to take into account the deformations with a simple beam equations so basically the solution depend only of the loading computed by STAR.
It seems that the displacement value I impose is added to the solution at each time step, so it is relative to the mesh deformation of the previous time step. Does anyone know how to impose displacement relative to the initial mesh, or compute the new displacements according to the previous mesh?
Thank you in advance.
I'm supposing you had implemented the morphing due field functions. There is an array called $$Position and one called $$SavedCoord. Position gives you the coordinates of the face at your timestep. SavedCoord contains the coordinates of the startup.. so you can calculate the displacement in every face by:
At first you should switch "Restore Saved Coordinates" on in the node Solver->Morpher. From this on it is possible to compute the new displacement. You can also access these vectors by UserCoding.
hope that helps...
|All times are GMT -4. The time now is 10:14.|