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

timeVaryingMappedFixedValue with OpenFOAM 2.2

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

Like Tree1Likes
  • 1 Post By hfs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 07:29
Default timeVaryingMappedFixedValue with OpenFOAM 2.2
  #1
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 11
hfs is on a distinguished road
Hi,

I am trying to use timeVaryingMappedFixedValue with OpenFOAM 2.2

I copied a case that works fine with OpenFOAM 2.1 and tried to run it with OpenFOAM 2.2.
I got the following error:

Code:
Create mesh for time = 0

Reading field p

Reading field U



--> FOAM FATAL IO ERROR: 
keyword offset is undefined in dictionary "/home/hosam/simple_case/0/U.boundaryField.inlet"

file: /home/hosam/simple_case/0/U.boundaryField.inlet from line 26 to line 27.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 402.

FOAM exiting
line 26 to line 27 in 0/U:

Code:
    inlet
    {
      type            timeVaryingMappedFixedValue;
      setAverage      0;
    }
Any idea what went wrong?

Thanks!
hfs is offline   Reply With Quote

Old   April 29, 2014, 03:46
Default
  #2
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 11
hfs is on a distinguished road
Is there anyone using timeVaryingMappedFixedValue boundary without problems?
hfs is offline   Reply With Quote

Old   May 21, 2014, 06:56
Default
  #3
Member
 
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 9
Z.Q. Niu is on a distinguished road
Dear hfs,
should the setAveragebe set off instead of 0?
Z.Q. Niu is offline   Reply With Quote

Old   May 21, 2014, 09:31
Default
  #4
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 11
hfs is on a distinguished road
Does setAverage thing have an influence?
hfs is offline   Reply With Quote

Old   May 21, 2014, 09:33
Default
  #5
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 11
hfs is on a distinguished road
The solution to my problem was only specifying the offset:

inlet {
type timeVaryingMappedFixedValue;
setAverage 0;
offset (0 0 0);
}

as explained by Vesselin Krastev:
http://www.cfd-online.com/Forums/ope...oundaries.html
yaqb likes this.
hfs is offline   Reply With Quote

Old   May 21, 2014, 10:29
Default
  #6
Member
 
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 9
Z.Q. Niu is on a distinguished road
what means of offser (0 0 0)?
Z.Q. Niu is offline   Reply With Quote

Old   May 22, 2014, 03:48
Default
  #7
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 11
hfs is on a distinguished road
I think it means that your inlet velocities will be mapped to your inlet patch not on the coordinates listed in "points" file, rather on those coordinate + an offset.

I am not sure .. this is only my guess!

note: this offset is not required on OpenFOAM 2.1 and earlier versions..
hfs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
two way turbulence coupling in openfoam 2.2 cfdsat OpenFOAM Programming & Development 0 February 21, 2014 17:39
dieselEngine missing in openfoam 2.2 cfdsat OpenFOAM Programming & Development 1 November 9, 2013 10:00
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 07:14


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