|
[Sponsors] |
March 15, 2009, 06:46 |
Hi everyone!
I managed to t
|
#1 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
Hi everyone!
I managed to transfer a file from ProEngineer to Gambit and afterwards to a .msh file, which I transfered again into an OpenFOAM format so I could run the simulation. Everything seems all right, checkMesh says that the mesh is fine, but I'm constantly getting the following error after starting the simulation (simpleFoam solver): ------------------------------------------- Create time Create mesh for time = 0 Reading field p keyword wall is undefined in dictionary "/home/milos/OpenFOAM/milos-1.5/run/test3/0/p::boundaryField" file: /home/milos/OpenFOAM/milos-1.5/run/test3/0/p::boundaryField from line 25 to line 45. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 271. FOAM exiting ------------------------------------------- My geometry is actually a pipe elbow. I guess it doesn't get much more simple than that. After some improvising I managed to get the simulation running for several steps, although I still do not know the essence of the problem that came up. Now, I'm at this: ----------------------------------------- Create time Create mesh for time = 0 Reading field p Reading field U Reading/calculating face flux field phi keyword pRefCell is undefined in dictionary "/home/milos/OpenFOAM/milos-1.5/run/test3/system/fvSolution::SIMPLE" file: /home/milos/OpenFOAM/milos-1.5/run/test3/system/fvSolution::SIMPLE from line 59 to line 59. From function dictionary::lookupEntry(const word& keyword) const in file db/dictionary/dictionary.C at line 213. FOAM exiting ----------------------------------- If anyone knows what do these error mean (what should I change in the pre-processing stage), please let me know. Thanks a million! |
|
March 15, 2009, 07:29 |
Hi Milos,
Would you please
|
#2 |
Senior Member
|
Hi Milos,
Would you please upload your fvSolutions and fvSchemes files? BTW, describe your model, boundary condition, laminar?turbulence? So that we may give some suggestions. Bin |
|
March 15, 2009, 08:43 |
No problem about the upload, b
|
#3 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
No problem about the upload, but you have to tell me where to upload since I'm new on this forum (and still at rookie level with OpenFOAM). If it would be useful, I could upload my whole case folder.
Model is a simple pipe (50mm in diameter) elbow, with an inlet and an outlet. I set up the boundary conditions in Gambit and modified them after the conversion to OpenFOAM format. As for boundary conditions, I have: inlet, outlet and a wall. Flow should be turbulent, k-epsilon model. Thanks! |
|
March 15, 2009, 09:26 |
Hi Milos,
As for the method
|
#4 |
Senior Member
|
Hi Milos,
As for the method to upload, please take a look at "Attachments" at http://www.cfd-online.com/cgi-bin/Op...?pg=formatting. Well, it is clear that you are simulating turbulence. I suggest you to copy some existing fvSolutions & fvSchemes from tutorials. After you are familiar with it, you could change the discretisation schemes and other parameters. Try to copy the following content in your fvSolutions file: solvers { p PCG { preconditioner DIC; tolerance 1e-06; relTol 0.01; }; U PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0.1; }; k PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0.1; }; epsilon PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0.1; }; R PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0.1; }; nuTilda PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0.1; }; } SIMPLE { nNonOrthogonalCorrectors 3; } relaxationFactors { p 0.3; U 0.7; k 0.7; epsilon 0.7; R 0.7; nuTilda 0.7; } Bin |
|
March 16, 2009, 04:28 |
|
#5 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
Thank you for the effort zhoubinwx. However, I managed to figure it out. It's just about having the same boundaries defined in each of the boundary conditions files (p, U, k, epsilon, nu tilda...), although the latter problem with "undefined pRefCell" was solved by copying fresh fvSolution and fvSchemes from the tutorial folder (as you suggested).
Thanx once more! Cheers! |
|
October 6, 2009, 03:32 |
|
#6 |
New Member
Jml
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Hello Milos, I have read your first post and I have the same problem to run the simulation:
************************************************** * Create time Create mesh for time = 0 Reading thermodynamicProperties Reading field p keyword wall is undefined in dictionary "/scratch/inyeccion/LES/0/p::boundaryField" file: /scratch/inyeccion/LES/0/p::boundaryField from line 26 to line 62. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 271. FOAM exiting ******************************** What can I do to solve it? Thanks. |
|
October 6, 2009, 03:44 |
|
#7 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
Well, I see your folder name contains LES and I would assume that you are dealing with Large Eddies. To be honest, I am not familiar with that solver at all, but my problem was inconsistent boundary conditions.
To make it more clear, go to your 'constant' folder, and check how is your geometry defined (how many walls, inlets, outlets etc.). Afterwards go to the '0' folder and make sure that you have properly defined boundary conditions (p, U etc.) for each of the geometric entities (walls, inlets, outlets etc.). To simplify it even more, the key should lie in the relation/consistency between the '0' folder and the 'constant' folder. Let me know if that helped. Cheers! |
|
October 6, 2009, 08:59 |
|
#8 |
New Member
Jml
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Thank you Milos, I have checked the constant file and I have found the solution to my problem. It was a problem in the creation of the mesh.
Thank you very much. |
|
October 6, 2009, 09:50 |
|
#9 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
No problemo!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Boundary condition problems (OpenFOAM) | Milos | OpenFOAM Meshing & Mesh Conversion | 13 | October 13, 2016 20:58 |
NASA Rotor 37 Boundary Condition Problems | Dom | FLUENT | 1 | March 27, 2012 08:00 |
Problems implementing a boundary condition | ogloth | OpenFOAM Running, Solving & CFD | 3 | July 17, 2007 16:36 |
Boundary condition and source in electromagnetic problems | evgenii | OpenFOAM Pre-Processing | 3 | March 6, 2007 16:20 |
Problems with Fan boundary condition | Nish | FLUENT | 2 | August 27, 2004 19:27 |