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

timeVaryingUniformFixedValue (see the graph/picture)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 15, 2014, 14:37
Default timeVaryingUniformFixedValue (see the graph/picture)
  #1
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 4
vitorspadeto is on a distinguished road
Hi

I would to implement "timeVaryingUniformFixedValue" to my inlet pressure (b.c.). But "time" in the source code it seems in "1 2 3 4 5 6 ... ", that is, integer. But I need specify time varying pressure with decimals of seconds "1.0 1.1 1.2 1.3 1.4 1.5......2.0......3.0 3.1seconds" ... and should be polynomial/continuous curve. This is the graph:

PRESSURExTIME.jpg


on 0/p file, I believe it will be like it:

Code:
inlet
    {
        type timeVaryingUniformFixedValue;
        fileName "$FOAM_CASE/time-series";
        outOfBounds clamp;         
    }

and time-series would be like it:

Code:
(
(0 value1)
(1 value2)
(2 value3)
(3 value4)
...
)
question 1: How should I specify 0/p file correctly?
question 2: How should I specify "time-series" file to this graph?
question 3: After the program apply the complete sequence of values ​​"time-series", starts a new cycle reproducing the pulse pressure (cyclic process) again?


Best regards,
Vitor Spadeto Venturin
vitorspadeto is offline   Reply With Quote

Old   September 17, 2014, 07:05
Default
  #2
Member
 
Join Date: Jun 2012
Posts: 73
Rep Power: 6
maHein is on a distinguished road
Hello,

"timeVaryingUniformFixedValue" was removed in OpenFOAM 2.1.0. However, a new boundary condition was introduced called "uniformFixedValue" (see http://www.openfoam.org/version2.1.0...conditions.php)

There is also the setting "outOfBounds" where you can define what happens when the simulation time is outside of your defined time values, for instance repeat or clamp.

Regards
maHein is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:29.