|
[Sponsors] |
TimeVaryingUniformFixedValue does not work as a pressureInlet with sonicLiquidFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2008, 11:12 |
I also have the exactly simila
|
#1 |
Senior Member
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17 |
I also have the exactly similar problem with rhoSonicFoam...!!!
Though the inlet.dat file is there at the same location. can anybody please find out where we should look to make it correct. because we could not be able to use a complete solver for our specific work. regards, Nishant
__________________
Thanks and regards, Nishant |
|
May 13, 2008, 12:40 |
Hello there,
A good day to
|
#2 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello there,
A good day to you :-)! As far as I remember right, when specifying the file for the timeVaryingUniformFixedValue boundary condition, OpenFOAM assumes that the folder to find the file, is the folder from where you ran the simulation command.... for example... if my simulation is being run from the folder: /home/user/OpenFOAM/user-1.4.1/run/ and the simulation case is called: test_v01 and if you go to the above run folder, and use the following standard line to start your simulation: sonicLiquidFoam . test_v01 then, the file "inlet.dat" should be in the "run" folder, and not somewhere within the simulation case folders. If you place the file "inlet.dat" in the root folder of your simulation case by changing the condition to: F1 { type timeVaryingUniformFixedValue; timeDataFileName "./test_v01/inlet.dat"; value uniform 1e+5; } and then try running the simulation as I mentioned earlier, things would work. Moral of the story... As far as I have understood, the safest is to specify the file in the boundary specifiation, is to give the complete absolute path... then you can start the simulation from any folder. Hope this provides some help... if not, let me know... Have a nice day! Philippose |
|
May 13, 2008, 13:20 |
well.. Thanks for the reply Ph
|
#3 |
Senior Member
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17 |
well.. Thanks for the reply Philippose.
I am already doing as you suggested. Its working fine with rhopsonicfoam solver. But the rhoSonicFoam solver particularly is not recognizing the file's format, i think. the format of the file i am using is: ( t0 p0 .. .. tn pn ) This format work fine with rhopSonicFoam solver. however, if i remove the file inlet.dat from the directory then it complains that there is no inlet.dat file but currently its not giving the name.. just a "". nishant
__________________
Thanks and regards, Nishant |
|
May 13, 2008, 22:29 |
Hi. Thanks for your reply, Phi
|
#4 |
New Member
|
Hi. Thanks for your reply, Philippose.
It doesn't work with sonicLiquidFoam. I tried your filename format, it prompted the same: --> FOAM FATAL IO ERROR : file "" does not exist file: at line 1. From function IFstream::operator() in file db/IOstreams/Fstreams/IFstream.C at line 171. FOAM exiting I did place the data file in all the subdirectories of the case, and also copied it to the same father-directory of the case. Martin/Run DU
__________________
rdu ------------------ Martin/Run Du |
|
May 14, 2008, 10:05 |
Martin,
It works well with
|
#5 |
Senior Member
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17 |
Martin,
It works well with rhopSonicFoam, if that solver of any help for your problem. It doesnot work with rhoSonicFoam or rhoLiquidFoam. regards, Nishant
__________________
Thanks and regards, Nishant |
|
May 21, 2008, 09:54 |
Hi, Nishant, I find the cause.
|
#6 |
New Member
|
__________________
rdu ------------------ Martin/Run Du |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingUniformFixedValue | holger_marschall | OpenFOAM Running, Solving & CFD | 4 | August 10, 2013 15:47 |
TimeVaryingUniformFixedValue BC in foam 15 | nzy102 | OpenFOAM Running, Solving & CFD | 5 | August 19, 2008 09:08 |
TimeVaryingUniformFixedValue with sonicLiquidFoam Bugs amp Fixes | chnrdu | OpenFOAM Bugs | 1 | May 21, 2008 10:52 |
Changing area with a random value of pressureinlet | M-Ray | FLUENT | 0 | May 16, 2008 03:48 |
PressureInlet | christian | OpenFOAM Running, Solving & CFD | 1 | February 13, 2008 16:03 |