|
[Sponsors] |
January 29, 2014, 10:34 |
SRFFreestreamVelocity BC does not work
|
#1 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
Hello everyone
I´m 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 don´t 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! I´d be glad for any help. Best regards Tobias |
|
January 31, 2014, 05:17 |
|
#2 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
My problem is, that I´m not very good in programming...
Do I have to move the folder of SRFFreestreamVelocity to another directory? |
|
January 31, 2014, 05:36 |
|
#3 |
New Member
Andre Weiner
Join Date: Aug 2012
Posts: 29
Rep Power: 14 |
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 } Good luck! |
|
January 31, 2014, 06:19 |
|
#4 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
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 |
|
Tags |
boundary condition, srf, srfsimplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to work with constant pressure? | Martin | Siemens | 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 | Siemens | 3 | November 23, 2006 08:43 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 13:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 22:03 |