|
[Sponsors] |
timeVaryingMappedFixedValue with OpenFOAM 2.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2014, 08:29 |
timeVaryingMappedFixedValue with OpenFOAM 2.2
|
#1 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
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 Code:
inlet { type timeVaryingMappedFixedValue; setAverage 0; } Thanks! |
|
April 29, 2014, 04:46 |
|
#2 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Is there anyone using timeVaryingMappedFixedValue boundary without problems?
|
|
May 21, 2014, 07:56 |
|
#3 |
Member
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12 |
Dear hfs,
should the setAveragebe set off instead of 0? |
|
May 21, 2014, 10:31 |
|
#4 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Does setAverage thing have an influence?
|
|
May 21, 2014, 10:33 |
|
#5 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
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 |
|
May 21, 2014, 11:29 |
|
#6 |
Member
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12 |
what means of offser (0 0 0)?
|
|
May 22, 2014, 04:48 |
|
#7 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
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.. |
|
|
|
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 18:39 |
dieselEngine missing in openfoam 2.2 | cfdsat | OpenFOAM Programming & Development | 1 | November 9, 2013 11:00 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 14:14 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 08:14 |