CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

moving domain, interFoam and mapping fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2011, 16:10
Default moving domain, interFoam and mapping fields
  #1
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Hello,

I am writing a new solver, it is based in interFoam and moving all the domain (i mean it is based in solid rigid rotation and traslation).

I am moving the domain with mesh.movePoints(NewPoints);

how can i get to mapping the fields at the new mesh position?

I guess that it is using mapPolyMesh, but how can i use?, do i need to save the old points and cell centers??

thanks
pablodecastillo is offline   Reply With Quote

Old   April 23, 2011, 15:45
Default
  #2
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
If i move a multiphase domain up or down with interDyFoam and solidBodyMotion it is not updating the z=0 or "free surface", simple it is moving all the domain changing the points positions, how can i do to map the free surface in their new position?

Advanced thanks
pablodecastillo is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On



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