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

Would solidBodyMotion work here?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2023, 07:35
Question Would solidBodyMotion work here?
  #1
New Member
 
Wilhelm Furian
Join Date: Apr 2023
Location: Berlin
Posts: 16
Rep Power: 3
Florian Mlehliw is on a distinguished road
Hi everyone!

I want to connect a static mesh (a digital elevation model of a lake) and a dynamic mesh (the dam in front of the lake). I want to gradually lower the dam to simulate a breach using interfoam.

Could I use something like this for the dynamic part?

Code:
dynamicFvMesh solidBodyMotionFvMesh;  
  solidBodyMotionFvMeshCoeffs  
  {        
     cellZone                            lakeDam;        
     solidBodyMotionFunction    linearMotion;        
     linearMotionCoeffs        
     {            
           velocity        (1.0 0.0 0.25);        
      }  
   }
I'm new to OpenFOAM and would be happy about some pointers as to better understand this.

Thanks a lot!

Last edited by Florian Mlehliw; August 8, 2023 at 05:37. Reason: fixed error in code
Florian Mlehliw is offline   Reply With Quote

Old   August 8, 2023, 12:15
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello Florian,

You might want to have a look at this, it seems to be pretty close to what you are trying to achieve: https://www.youtube.com/watch?v=DoAwPhJ1nzU

Full case by Nicolás Diego Badano on github, ready to run on v2112: https://github.com/nicolasbadano/WeirWithMovingGate

Cheers,
Yann
Florian Mlehliw likes this.
Yann is offline   Reply With Quote

Reply

Tags
interfoam, openfoam 2112, solidbodymotionfvmesh


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 05:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 11:53
Do all CFD analysts have to do some hands-on work except PhDs? e13drd Main CFD Forum 2 March 17, 2014 15:56
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 13:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 22:03


All times are GMT -4. The time now is 19:14.