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

combined DynamicMotion and DynamicRefinement ?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 31, 2011, 03:58
Default combined DynamicMotion and DynamicRefinement ?
  #1
New Member
 
Luc Bordier
Join Date: Feb 2010
Posts: 10
Rep Power: 7
lbordier is on a distinguished road
Hello,

I'm trying to use dynamicMotionFvMesh and dynamicRefineFvMesh.

If I undserstand well, the refinement settings have to be written in the dynamicMeshDict in a same way than the mesh motion properties.

My problem is that, if I want to have the mesh displacement I have to write in the dynamicMeshDict :

Code:
dynamicFvMesh    dynamicMotionSolverFvMesh;
... followed by the dynamic motion options

But if I want to use dynamic remeshing, I have to write in the dynamicMeshDict :

Code:
dynamicFvMesh    dynamicRefineFvMesh;
... followed by the dynamic refinement options

Writting the two former settings in the same dynamicMeshDict seems not to work, only the dynamic motion seems to be performed.

How can I have the two of them working together (if possible) ?

Thanks.
lbordier is offline   Reply With Quote

Old   August 31, 2011, 05:09
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by lbordier View Post
Hello,

I'm trying to use dynamicMotionFvMesh and dynamicRefineFvMesh.

If I undserstand well, the refinement settings have to be written in the dynamicMeshDict in a same way than the mesh motion properties.

My problem is that, if I want to have the mesh displacement I have to write in the dynamicMeshDict :

Code:
dynamicFvMesh    dynamicMotionSolverFvMesh;
... followed by the dynamic motion options

But if I want to use dynamic remeshing, I have to write in the dynamicMeshDict :

Code:
dynamicFvMesh    dynamicRefineFvMesh;
... followed by the dynamic refinement options

Writting the two former settings in the same dynamicMeshDict seems not to work, only the dynamic motion seems to be performed.

How can I have the two of them working together (if possible) ?

Thanks.
Not my speciality (so someone might prove me wrong) but I'm afraid you'll have to write a dynamicFvMesh that combines both of them (I guess by inheriting from dynamicRefineFvMesh and transplanting the dynamicMotionSolverFvMesh-functionality, but that is only a guess)
gschaider 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



All times are GMT -4. The time now is 04:57.