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

uniformFixedValue for velocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2021, 05:59
Default uniformFixedValue for velocity
  #1
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20
JNSN is on a distinguished road
Hi All,


I am trying to use the uniformFixedValue BC in order to set a time dependent inlet velocity. The BC should ramp the inlet velocity from zero to some value within a given time. In previous OF versions this worked fine with the uniformFixedValue type with following code:
Code:
  inlet
  {
    type uniformFixedValue;
    uniformValue
    {
                value (-0.076 0 0);
                type scale;
                scale
                {
                        type quarterSineRamp;
                        start 0;
                        duration 10;
                }
    }
    value $internalField;
  }
However, now interFoam (OpenFOAM-dev) complains about the syntax: "... expected word ... found token '(' ..."
Does anyone have an idea, how to solve this problem?
Thanks in advance,
Jan
JNSN is offline   Reply With Quote

Old   July 11, 2021, 05:34
Default
  #2
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20
JNSN is on a distinguished road
Quote:
Originally Posted by JNSN View Post
Hi All,


I am trying to use the uniformFixedValue BC in order to set a time dependent inlet velocity. The BC should ramp the inlet velocity from zero to some value within a given time. In previous OF versions this worked fine with the uniformFixedValue type with following code:
Code:
  inlet
  {
    type uniformFixedValue;
    uniformValue
    {
                value (-0.076 0 0);
                type scale;
                scale
                {
                        type quarterSineRamp;
                        start 0;
                        duration 10;
                }
    }
    value $internalField;
  }
However, now interFoam (OpenFOAM-dev) complains about the syntax: "... expected word ... found token '(' ..."
Does anyone have an idea, how to solve this problem?
Thanks in advance,
Jan
Just in case anyone else faces this problem. Was fixed here: https://github.com/OpenFOAM/OpenFOAM...db6a6c55938e13
JNSN 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
Understanding UniformFixedValue boundary condition amtri OpenFOAM Post-Processing 5 November 10, 2020 18:46
uniformFixedValue BC problems FrancescoF OpenFOAM 0 June 24, 2018 11:50
What is the table values for amplitude in uniformFixedvalue bc? sinhavivekananda318 OpenFOAM Running, Solving & CFD 0 May 5, 2017 03:11
uniformFixedValue Jack_Landis OpenFOAM Pre-Processing 0 July 9, 2016 07:17
uniformFixedValue boundary condition meth Main CFD Forum 0 November 5, 2015 00:16


All times are GMT -4. The time now is 01:37.