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

SRFFreestreamVelocity BC does not work

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 29, 2014, 10:34
Unhappy SRFFreestreamVelocity BC does not work
  #1
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 4
Tobias Adam is on a distinguished road
Hello everyone

Im using SRFSimpleFoam. So I use SRFVelocity as Boundary Condition(BC) for the Inlet in the Urel file. This works perfectly good.
But when I try to use SRFFreestreamVelocity as BC for another patch an error message occurs:

--> FOAM FATAL IO ERROR:
keyword UInf is undefined in dictionary "/nfs/home/adam/OpenFOAM/adam-2.2.x/run/Bachelorarbeit/3sym-SRF/0/Urel.boundaryField.SHROUD"

file: /nfs/home/adam/OpenFOAM/adam-2.2.x/run/Bachelorarbeit/3sym-SRF/0/Urel.boundaryField.SHROUD from line 63 to line 66.

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


I dont understand this! The data and folders of both patches are in the same directory. So it should be no problem for OpenFoam to use both of them, if one works perfectly good!

Id be glad for any help.

Best regards Tobias
Tobias Adam is offline   Reply With Quote

Old   January 31, 2014, 05:17
Default
  #2
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 4
Tobias Adam is on a distinguished road
My problem is, that Im not very good in programming...
Do I have to move the folder of SRFFreestreamVelocity to another directory?
Tobias Adam is offline   Reply With Quote

Old   January 31, 2014, 05:36
Default
  #3
New Member
 
Andre Weiner
Join Date: Aug 2012
Posts: 27
Rep Power: 5
andre.weiner is on a distinguished road
Hello,

it seems like at your patch the UInf variable isn't defined.
the patch entry should look like this:
Code:
    myPatch
    {
        type            SRFFreestreamVelocity;
        UInf            uniform (0 0 0);
        relative        no;
        value           uniform (0 0 0);    // initial value
    }
where UInf is the freestream velocity in the absolute frame.

Good luck!
andre.weiner is offline   Reply With Quote

Old   January 31, 2014, 06:19
Default
  #4
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 4
Tobias Adam is on a distinguished road
Thank you very much!

As I looked for the patch files, I should have had a look on the required input for this patch.
I thought it was the same as for SRFVelocity.

Problem solved :-)

Best reagards Tobi
Tobias Adam is offline   Reply With Quote

Reply

Tags
boundary condition, srf, srfsimplefoam

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to work with constant pressure? Martin CD-adapco 2 February 25, 2009 14:23
Getting FoamX to work shaun OpenFOAM Installation 12 March 23, 2007 09:55
work related to brake study of a vehical aero CD-adapco 3 November 23, 2006 08:43
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 23:57.