CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFD Online Community > Site Help, Feedback & Discussions

dambreak: dams start flowing at different time

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2021, 05:56
Default dambreak: dams start flowing at different time
  #1
New Member
 
Join Date: Mar 2020
Posts: 11
Rep Power: 3
Geb1313 is on a distinguished road
Hello Foamers,

I am running a dambreak case using interfoam solver. I have 2 boxes dams, (box1 and box2) set by setFieldsDict. I want to box2 to start flowing after sometime, say after 2 seconds. Is there any easy way to do so?

So far I tried using fvOptions to fix velocity for box2 and managed box2 not to flow. Can I fix velocity for certain cells for only for the first few seconds, say 2 seconds using fvOptions?

The fvOptions I used is:
Code:
  fixedValue 
{
    type            vectorFixedValueConstraint;

    selectionMode   cellZone;
    cellZone           zone1;
    fieldValues
    {
      U   (0 0 0);      // I want this work only for the first 2 seconds
     }
}
Geb1313 is offline   Reply With Quote

Reply

Tags
dambreak 3d, fixing velocity, fvoptions

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 39 July 1, 2020 10:13
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


All times are GMT -4. The time now is 01:15.