|
[Sponsors] |
October 8, 2014, 06:50 |
Time varying inlet velocity problem
|
#1 |
Member
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 13 |
Hi.. Foamers
I have applied a time varying inlet velocity condition for a circular cylinder in 2D. However, there was a problem on it while was being simulated in parallel. I used the inlet velocity so that it can change momently from 5 m/s to 10 m/s like a step function at time T=1.5 or 2.0. When I used it at T=0.5 or 1.0, any other time <= 1.0, there was no problem. However, when I used that time varying condition at T=1.5 or 2.0, any other time >= 1.5, there existed a problem and the simulation was broken out. You can see my time varying inlet velocity condition and the errors concerning it as below. I will appreciate it if you had a similar experience and could help me. Thanks. Inlet condition: boundaryField { inlet { type uniformFixedValue; uniformValue table ( ( 0 (5.0 0.0 0.0) ) ( 1.999999 (5.0 0 0) ) ( 2.0 (10.0 0.0 0.0) ) ); } Error: Create time Create mesh for time = 0 Reading field p Reading field U [0] [1] [1] [1] --> FOAM FATAL ERROR: [1] out-of-order value: 1.5 at index 2 [1] [1] From function Foam::TableBase<Type>::check() const [1] in file lnInclude/TableBase.C at line 203. [1] FOAM parallel run exiting [2] [2] [2] --> FOAM FATAL ERROR: [2] out-of-order value: 1.5 at index 2 [2] [2] From function Foam::TableBase<Type>::check() const [2] in file lnInclude/TableBase.C at line 203. [2] FOAM parallel run exiting [2] [1] -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- [4] [4] [4] --> FOAM FATAL ERROR: [4] out-of-order value: 1.5 at index 2 [4] [4] From function Foam::TableBase<Type>::check() const [4] in file lnInclude/TableBase.C at line 203. [4] FOAM parallel run exiting |
|
October 9, 2014, 08:33 |
|
#2 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Why not using groovyBC? It's quite useful to deal with this kind of boundary conditions
Have a look at: http://openfoamwiki.net/index.php/Contrib/groovyBC Last edited by wyldckat; October 12, 2014 at 13:00. Reason: replaced long link through Google.es with the actual end link |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I prescribe Average Velocity /Total Inlet Flow for a simple channel problem? | skuznet | OpenFOAM Pre-Processing | 4 | February 16, 2022 10:44 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
please help-time varying inlet velocity | saurabh | Phoenics | 1 | June 9, 2009 07:17 |