|
[Sponsors] |
October 5, 2015, 07:44 |
Problems with InterFoam!!
|
#1 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
Hallo,
im simulating with InterFoam and now after running InterFoam i have this Error. Seems like not gut. have anybody an idea what ist the Problem now? i have used the folder: multiphase/InterFoam/ras/ weirOverflow. Thanks a lot! |
|
October 5, 2015, 08:02 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Berat,
it appears that there is no water in your domain, have you performed setFields? Best, Pablo |
|
October 13, 2015, 09:19 |
set FieldsDict
|
#3 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
my setFieldsDict look like this,
i think alpha.water 1 means like its Watter in the domain or? |
|
October 13, 2015, 09:21 |
|
#4 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
sorry i forget to Attach the pic. Here it is!
|
|
October 15, 2015, 05:25 |
|
#5 |
Member
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 22 |
I agree with Pablo, it looks like the water phase is not set correctly. What is the size of your domain? Did you remember to run "setFields" before starting the simulation?
|
|
October 15, 2015, 07:04 |
|
#6 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
ok i have uplode my blockMeshdict ... The dimensions are 5.3/8.4/0.9 m
and i have only inlet and outlet patches of the Domain. Then the Geometry is an Pool like in the Picture. I model it with Sketchup, and i separate export the .stl fils, Inlet Outlet and Walls. So i have 2 times the patch name Inlet and Outlet... i think i make something wrong And no, after i finished snappyHexMesh i direktli run InterFoam. the setFieldsDict i dont run. |
|
October 15, 2015, 07:05 |
|
#7 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (-0.1 -0.05 -0.1) (8.4 -0.05 -0.1) (8.4 0.9 -0.1) (-0.1 0.9 -0.1) (-0.1 -0.05 5.3) (8.4 -0.05 5.3) (8.4 0.9 5.3) (-0.1 0.9 5.3) ); blocks ( hex (0 1 2 3 4 5 6 7) (10 10 20) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 4 7 3) ); } outlet { type patch; faces ( (1 2 6 5) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
October 15, 2015, 07:23 |
|
#8 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11 |
The coordinates of the box from your setFieldsDict have to be inside your domain.
Anyway, you should check if setFields worked correctly with paraview. |
|
October 15, 2015, 07:25 |
|
#9 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
and now after running my sefFields i get thiss error
Have somebody an Idea what can i do to fix all this problems? |
|
October 15, 2015, 07:41 |
|
#10 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11 |
The error tells you exactly what to do, you have to supply pRefCell or pRefPoint in your fvSolution file. Just look into an interfoam tutorial case.
|
|
October 15, 2015, 07:56 |
|
#11 |
Member
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 22 |
I think you are trying to solve too many problems at once, without understanding the basics. I suggest looking at the damBreak tutorial for interFoam. Understand how the mesh is set up, and how the setFields utility works.
Then you can move to your case. Copy the fvSchemes and fvSolution files from the damBreak tutorial to use as a starting point. You also need to fix the setFieldsDict to match where you actually want water in your domain. Before trying to run interFoam, verify that you have the correct water field in Paraview. |
|
October 15, 2015, 08:01 |
|
#12 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
Hallo TobM,
i have lookt in the weirOverflow turorial, but in the fvSolutuion file is no pRefCell or pRefPoint, Where should I keep my mind in order to insert correctly? |
|
October 15, 2015, 08:09 |
|
#13 |
New Member
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10 |
HAllo Eric, im using wairoverflow tutorial, but in all thes tutorial they have only a geometrie from blockMesh . I have the file I created from blockmesh and then my geometry, so i cant not realy compare the tutorial with my case.
|
|
October 15, 2015, 08:16 |
|
#14 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11 |
One very useful command is grep, use it like this:
grep -R pRefCell * in tutorials/multiphase/interfoam and you will get a list with all files with occurrences of pRefCell within the interfoam tutorials. When you don't find something in one tutorial look into another and always google your problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Benchmarking interFOAM -- problems... | einatlev | OpenFOAM Running, Solving & CFD | 6 | March 19, 2015 10:16 |
interFoam simulation yields inconsistent results for alpha1 surface | Ralinus | OpenFOAM Running, Solving & CFD | 8 | January 13, 2014 08:54 |
Pressure convergence problems with sloped bottom in interFoam | gradylemoine | OpenFOAM Running, Solving & CFD | 0 | November 18, 2013 18:33 |
Problems with interFoam usage | vrecha | OpenFOAM Running, Solving & CFD | 4 | January 5, 2008 03:34 |
Problems starting new case interFoam | billy | OpenFOAM Running, Solving & CFD | 3 | June 21, 2006 10:18 |