CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with InterFoam (https://www.cfd-online.com/Forums/openfoam-solving/59358-problem-interfoam.html)

in_flu_ence October 25, 2007 20:41

I have created a 2D channel wi
 
I have created a 2D channel with the respective inlet (waterin and oilin) and outlet(outlet). I believe I have set up the mesh right and also having the initial fields done. However, there is some error about printstack when I run the interFoam function.

I have uploaded the case at
http://www.udsn.net/MC50.zip

Advice please.

7islands October 26, 2007 05:59

Hi Harris, At least your bloc
 
Hi Harris,
At least your blockMeshDict is incorrect, as you can see by running checkMesh. The lines that should be corrected are:
<pre>blocks
(
// hex (0 1 4 3 6 7 10 9) (100 15 1) simpleGrading (1 1 1)
hex (0 3 4 1 6 9 10 7) (100 15 1) simpleGrading (1 1 1)
// hex (1 2 5 4 7 8 11 10) (100 15 1) simpleGrading (1 1 1)
hex (1 4 5 2 7 10 11 8) (100 15 1) simpleGrading (1 1 1)
);
patch waterin
(
// (0 1 7 6)
(6 7 1 0)
)

patch oilin
(
// (1 2 8 7)
(7 8 2 1)
)
wall pipewall
(
// (2 5 11 8)
(8 11 5 2)
(0 3 9 6)
)
</pre>Takuya

in_flu_ence October 26, 2007 07:30

To extend to your answer, is t
 
To extend to your answer, is there a certain way of putting the points into the matrix? Clockwise, anti-clockwise, etc?

Thanks

7islands October 26, 2007 08:18

Well, there's always one thing
 
Well, there's always one thing you can do by yourself: "RTM."

in_flu_ence October 26, 2007 08:39

Thanks. I realise I didn't do
 
Thanks. I realise I didn't do a blockMesh after correction. I think it works now with checkMesh.


All times are GMT -4. The time now is 18:37.