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

timeVaryingUniformFixedValue (see the graph/picture)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By maHein

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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: 76
Rep Power: 13
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
samiahmed likes this.
maHein is offline   Reply With Quote

Old   June 29, 2019, 14:59
Default
  #3
New Member
 
Join Date: Jun 2019
Posts: 15
Rep Power: 6
samiahmed is on a distinguished road
Quote:
Originally Posted by maHein View Post
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
I don't know why the timeVaryingUniformFixedValue still exist in this page.
samiahmed is offline   Reply With Quote

Old   May 29, 2020, 19:18
Default
  #4
Senior Member
 
Join Date: Jan 2019
Posts: 125
Blog Entries: 1
Rep Power: 0
Michael@UW is on a distinguished road
Quote:
Originally Posted by samiahmed View Post
I don't know why the timeVaryingUniformFixedValue still exist in this page.
I also wonder why these two boundary conditions both exist even in the latest version and what is the difference.

But I found timeVaryingUniformFixedValue works only for pointPatchFields, but uniformFixedValue works both for pointPatchFields and fvPatchFields.

Anyway, for pointPatchFields, we can use both. What's the difference?

timeVaryingUniformFixedValue
/home/michael/OpenFOAM/OpenFOAM-7/src/OpenFOAM/fields/pointPatchFields/derived/timeVaryingUniformFixedValue

uniformFixedValue
/home/michael/OpenFOAM/OpenFOAM-7/src/OpenFOAM/fields/pointPatchFields/derived/uniformFixedValue

uniformFixedValue
/home/michael/OpenFOAM/OpenFOAM-7/src/finiteVolume/fields/fvPatchFields/derived/uniformFixedValue
Michael@UW 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



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