|
[Sponsors] |
dambreak: dams start flowing at different time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2021, 05:56 |
dambreak: dams start flowing at different time
|
#1 |
New Member
Join Date: Mar 2020
Posts: 16
Rep Power: 6 |
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 } } |
|
Tags |
dambreak 3d, fixing velocity, fvoptions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
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 |