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

Problems with InterFoam!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2015, 07:44
Default Problems with InterFoam!!
  #1
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
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!
Attached Images
File Type: jpg InterFoam Error.jpg (113.7 KB, 42 views)
Berati26 is offline   Reply With Quote

Old   October 5, 2015, 08:02
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Berat,

it appears that there is no water in your domain, have you performed setFields?

Best,

Pablo
Phicau is offline   Reply With Quote

Old   October 13, 2015, 09:19
Default set FieldsDict
  #3
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
my setFieldsDict look like this,

i think alpha.water 1 means like its Watter in the domain or?
Berati26 is offline   Reply With Quote

Old   October 13, 2015, 09:21
Default
  #4
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
sorry i forget to Attach the pic. Here it is!
Attached Images
File Type: png set Field.png (14.1 KB, 21 views)
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 05:25
Default
  #5
Member
 
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 22
eric will become famous soon enough
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?
eric is offline   Reply With Quote

Old   October 15, 2015, 07:04
Default
  #6
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
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.
Attached Images
File Type: png Becken Geometrie.png (42.8 KB, 15 views)
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 07:05
Default
  #7
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
/*--------------------------------*- 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
(
);

// ************************************************** *********************** //
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 07:23
Default
  #8
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
The coordinates of the box from your setFieldsDict have to be inside your domain.
Anyway, you should check if setFields worked correctly with paraview.
TobM is offline   Reply With Quote

Old   October 15, 2015, 07:25
Default
  #9
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
and now after running my sefFields i get thiss error

Have somebody an Idea what can i do to fix all this problems?
Attached Images
File Type: png Error for field p.png (13.4 KB, 8 views)
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 07:41
Default
  #10
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
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.
TobM is offline   Reply With Quote

Old   October 15, 2015, 07:56
Default
  #11
Member
 
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 22
eric will become famous soon enough
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.
eric is offline   Reply With Quote

Old   October 15, 2015, 08:01
Default
  #12
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
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?
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 08:09
Default
  #13
New Member
 
Berat Loshi
Join Date: Aug 2015
Posts: 25
Rep Power: 10
Berati26 is on a distinguished road
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.
Berati26 is offline   Reply With Quote

Old   October 15, 2015, 08:16
Default
  #14
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
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.
TobM is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:01.