CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

CFX interpolating to a mesh with deformation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2012, 21:24
Default CFX interpolating to a mesh with deformation
  #1
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 4
martindg is on a distinguished road
Hi,

I'm having a go at using CFX to simulate the flow past a cyclist with moving legs. This is difficult, as there is surface interaction between stationary and moving parts and I can't see anyway to use a GGI.

My plan was to start with a given mesh, deform it a small distance (~2 degrees of the full cycle), and then interpolate to a new mesh and repeat. The way I've set it up, each run starts off with an initial deformation and then deforms back to its "unstressed" position; I've found this can delay any mesh folding, by minimizing surfaces crossing over each other. This seems to work, however, there is a problem: CFX interpolates onto the un-deformed mesh, even though the specified displacements for that point in time might not be zero. The mesh then jumps from zero deformation to whatever the specified deformation is for that step. This leads to a substantial error.

My question is: is there any way to tell CFX to interpolate onto a new mesh only after applying any specified initial deformation? Or applying the deformation after meshing, but before running the solver? If not, I'll have to have a re-think...

Thank you
martindg is offline   Reply With Quote

Old   October 14, 2012, 04:10
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,809
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Why are you interpolating onto a new mesh at all? Why can't you do this using the normal moving mesh capabilities?
ghorrocks is offline   Reply With Quote

Old   October 16, 2012, 03:35
Default
  #3
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 4
martindg is on a distinguished road
Thanks for the reply.

I have tried doing this with the normal moving mesh capabilities and I run into the same problem. The solution still needs to be interpolated to a new mesh, which CFX doesn't deform before interpolating.

For example, in the example shown in this tutorial:

http://www.edr.no/blogg/ansys_blogge...nch_cfx_remesh

each time a remeshing occurs, the new mesh is undistorted and then deforms as the rotor rotates. The number of remeshes required could be reduced if one started with a deformed meshed. The rotation would then take the mesh from distorted to undistorted and again to distorted, increasing the number of degrees one mesh could cover and reducing the number of meshes needing to be generated. This is what I would like to do and I am wondering if anyone knows if there is some provision for this in CFX.

Thanks again.
martindg is offline   Reply With Quote

Old   October 16, 2012, 06:33
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,809
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You might need to talk to CFX support for examples of remeshing to deformed meshes.

But why can't this be done in a single deforming mesh simulation with no remeshes? Then you do not need to do interpolations.
ghorrocks is offline   Reply With Quote

Old   October 16, 2012, 20:21
Default
  #5
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 4
martindg is on a distinguished road
The way the geometry is set up, the thigh rotates around the hip joint, which is inside the torso. So as the thigh rotates relative to the torso, the intersection between the surfaces of the thigh and the torso moves, which very quickly folds the mesh. There is the possibility of moving surface elements around on the surface of the thigh and torso, so to avoid them getting lost in the intersection, but (I think) using frequent remeshing and keeping the motion simple is the more straightforward option. If you have an idea of how else to deal with this, or could point me at an example which attempts something similar, I'd be interested to hear.
martindg is offline   Reply With Quote

Old   October 17, 2012, 05:52
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,809
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I would certainly try the built-in mesh smoothing options before going to remeshing. Parameters like distance from wall or element size may help, give them a try.

CFX support has several examples of remeshing. If you cannot get remeshing to work then I would contact them and get some demo files from them.

BTW: you can quickly check mesh motion by using an expert parameter to turn all equation solving off (eg solve fluids=f, ditto for turbulence, AV and any thing else) and setting it to 1 coeff loop per time step. Then the solution will proceed and only do the mesh motion. You can use this to quickly check the mesh motion is OK before committing to the bigger simulation with fluid solution turned on.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
Interpolating volume data onto quad surface mesh N.R. CFX 6 June 7, 2007 08:15
CFX mesh & ICEM mike CFX 3 April 27, 2006 15:27
hex mesh using cfx mesh. mehul CFX 3 December 12, 2005 23:06
hex mesh using cfx mesh. mehul CFX 0 October 31, 2005 08:01


All times are GMT -4. The time now is 13:49.