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

Time varying inlet velocity problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2014, 05:50
Default Time varying inlet velocity problem
  #1
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 12
eddykendo is on a distinguished road
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
eddykendo is offline   Reply With Quote

Old   October 9, 2014, 07:33
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
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 12:00. Reason: replaced long link through Google.es with the actual end link
ssss is offline   Reply With Quote

Reply


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
How do I prescribe Average Velocity /Total Inlet Flow for a simple channel problem? skuznet OpenFOAM Pre-Processing 4 February 16, 2022 09:44
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
please help-time varying inlet velocity saurabh Phoenics 1 June 9, 2009 06:17


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