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

problem with running OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ArathoN

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2014, 11:48
Default problem with running OpenFOAM
  #1
New Member
 
Jason
Join Date: Oct 2014
Posts: 17
Rep Power: 11
J.Y.Won is on a distinguished road
Hello everyone.
I'm just beginner of OpenFOAM.
I have a few questions.

My situation is :
I was running tutorial case (interDyMFoam/ras/DTC-Hull)
in here, I enlarged domain block and DTC hull
domain block is 100 meter for x-direction, 5meter for y direction, 10meter for z-direction.
And I run it as described in "Allrun"script.
here, i skipped toposet procedure. because I was finding what it was.

so, after I run interDyMFoam, error message was shown.
"Unable to set reference cell for field p. Please supply either pRefCell or pRefPoint"

Q1. Is this error have a relation with toposet?
Q2. Where can I find some information about toposet? I'm so curious what it is and why do this and how it works in OpenFOAM

thanks.
J.Y.Won is offline   Reply With Quote

Old   October 15, 2014, 12:34
Default
  #2
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
I never done that tutorial but these values are on fvsolution, it means you have an ill-conditioned problem with no specification to the pressure so you have to set a paressure value (pRefValue) to a reference ( a cell pRefCell or a point pRefPoin).

Now I gave a glance at the standard case but the pressure field is properly defined so it shouldn't need the setting of the reference cell for p. Post you /0 folder zipped because if you changed only the mesh it should have been fine.

topoSetDict is useful to manipulate a set of cells/region of the mesh, I advice tou to read the sample file in
/opt/openfoam230/applications/utilities/mesh/manipulation/topoSet
e.g In that tutorial everytime he created a new set of cell(c0) that he refined.
J.Y.Won likes this.
ArathoN is offline   Reply With Quote

Old   October 15, 2014, 22:07
Default
  #3
New Member
 
Jason
Join Date: Oct 2014
Posts: 17
Rep Power: 11
J.Y.Won is on a distinguished road
Quote:
Originally Posted by ArathoN View Post
I never done that tutorial but these values are on fvsolution, it means you have an ill-conditioned problem with no specification to the pressure so you have to set a paressure value (pRefValue) to a reference ( a cell pRefCell or a point pRefPoin).

Now I gave a glance at the standard case but the pressure field is properly defined so it shouldn't need the setting of the reference cell for p. Post you /0 folder zipped because if you changed only the mesh it should have been fine.

topoSetDict is useful to manipulate a set of cells/region of the mesh, I advice tou to read the sample file in
/opt/openfoam230/applications/utilities/mesh/manipulation/topoSet
e.g In that tutorial everytime he created a new set of cell(c0) that he refined.

Thank you for your kind reply
For the toposetDict, I'll study the tutorial you said.

and, here, I attatched '0'zipped folder and block Mesh file.
I found that if i skip only toposet and refindmesh procedure, it works.
but after i change blockMesh and enlarge the DTC-scaled.stl 5times larger, error happens.


Many Thanks, Won.
Attached Files
File Type: zip 0.zip (3.5 KB, 3 views)
File Type: txt blockMeshDict.txt (1.5 KB, 6 views)
J.Y.Won is offline   Reply With Quote

Old   October 16, 2014, 03:32
Default
  #4
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
Quote:
Originally Posted by J.Y.Won View Post
Thank you for your kind reply
I found that if i skip only toposet and refindmesh procedure, it works.
but after i change blockMesh and enlarge the DTC-scaled.stl 5times larger, error happens.

you need to post the errors log too, copy and past the terminal output.

I just noticed that you heavily modified the blockMeshDict and especially the patches, you eliminated some of them. This can be the root of the problem.

Just a note I think you noted that in the BCs some patches are absent, but they are defined implicitly in the included file "setConstraintTypes".

And after reading the /0 files you got me confused, for sure you have some and a lot of errors, keep note that the number of patches declared on blockMeshDict must be the same on the /0 files You deleted some patches on blockMeshDict but you kept them in the zero folder. So modify accordingly you mesh because you didn't only enlarge it but you completely changed it, i can't help you here because paraFoam doesn't work on my machine.
ArathoN is offline   Reply With Quote

Old   October 16, 2014, 10:05
Default
  #5
New Member
 
Jason
Join Date: Oct 2014
Posts: 17
Rep Power: 11
J.Y.Won is on a distinguished road
Quote:
Originally Posted by ArathoN View Post
you need to post the errors log too, copy and past the terminal output.

I just noticed that you heavily modified the blockMeshDict and especially the patches, you eliminated some of them. This can be the root of the problem.

Just a note I think you noted that in the BCs some patches are absent, but they are defined implicitly in the included file "setConstraintTypes".

And after reading the /0 files you got me confused, for sure you have some and a lot of errors, keep note that the number of patches declared on blockMeshDict must be the same on the /0 files You deleted some patches on blockMeshDict but you kept them in the zero folder. So modify accordingly you mesh because you didn't only enlarge it but you completely changed it, i can't help you here because paraFoam doesn't work on my machine.

Thanks.
I'll check the B.Cs and 0 Folder.
And here is my error message

------------------------------------------------------
in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #9 in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #9 [4] in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/interDyMFoam"
[acelab-Latitude-6430U:04980] *** Process received signal ***
[acelab-Latitude-6430U:04980] Signal: Floating point exception (8)
[acelab-Latitude-6430U:04980] Signal code: (-6)
[acelab-Latitude-6430U:04980] Failing at address: 0x3e800001374
[acelab-Latitude-6430U:04980] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f52693fc4a0]
[acelab-Latitude-6430U:04980] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f52693fc425]
[acelab-Latitude-6430U:04980] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f52693fc4a0]
[acelab-Latitude-6430U:04980] [ 3] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam41outletPhaseMeanVeloci tyFvPatchVectorField12updateCoeffsEv+0x22b) [0x7f526cc8464b]
[acelab-Latitude-6430U:04980] [ 4] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam17mixedFvPatchFieldINS_ 6VectorIdEEE8evaluateENS_8UPstream10commsTypesE+0x 3b6) [0x7f526c9dd2c6]
[acelab-Latitude-6430U:04980] [ 5] interDyMFoam(_ZN4Foam14GeometricFieldINS_6VectorId EENS_12fvPatchFieldENS_7volMeshEE22GeometricBounda ryField8evaluateEv+0x16b) [0x44f9eb]
[acelab-Latitude-6430U:04980] [ 6] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam25dynamicMotionSolverF vMesh6updateEv+0x509) [0x7f526bb99f29]
[acelab-Latitude-6430U:04980] [ 7] interDyMFoam() [0x42a0d2]
[acelab-Latitude-6430U:04980] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f52693e776d]
[acelab-Latitude-6430U:04980] [ 9] interDyMFoam() [0x43689d]
[acelab-Latitude-6430U:04980] *** End of error message ***

in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #9 [7] in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/interDyMFoam"
[acelab-Latitude-6430U:04983] *** Process received signal ***
[acelab-Latitude-6430U:04983] Signal: Floating point exception (8)
[acelab-Latitude-6430U:04983] Signal code: (-6)
[acelab-Latitude-6430U:04983] Failing at address: 0x3e800001377
[acelab-Latitude-6430U:04983] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f93ea56c4a0]
[acelab-Latitude-6430U:04983] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f93ea56c425]
[acelab-Latitude-6430U:04983] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f93ea56c4a0]
[acelab-Latitude-6430U:04983] [ 3] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam41outletPhaseMeanVeloci tyFvPatchVectorField12updateCoeffsEv+0x22b) [0x7f93eddf464b]
[acelab-Latitude-6430U:04983] [ 4] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam17mixedFvPatchFieldINS_ 6VectorIdEEE8evaluateENS_8UPstream10commsTypesE+0x 3b6) [0x7f93edb4d2c6]
[acelab-Latitude-6430U:04983] [ 5] interDyMFoam(_ZN4Foam14GeometricFieldINS_6VectorId EENS_12fvPatchFieldENS_7volMeshEE22GeometricBounda ryField8evaluateEv+0x16b) [0x44f9eb]
[acelab-Latitude-6430U:04983] [ 6] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam25dynamicMotionSolverF vMesh6updateEv+0x509) [0x7f93ecd09f29]
[acelab-Latitude-6430U:04983] [ 7] interDyMFoam() [0x42a0d2]
[acelab-Latitude-6430U:04983] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f93ea55776d]
[acelab-Latitude-6430U:04983] [ 9] interDyMFoam() [0x43689d]
[acelab-Latitude-6430U:04983] *** End of error message ***
--------------------------------------------------------------------------

I'll modify other scripts, and run it again.

Many thanks, Won.
J.Y.Won is offline   Reply With Quote

Old   October 16, 2014, 11:39
Default
  #6
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
Quote:
Originally Posted by J.Y.Won View Post
Thanks.

------------------------------------------------------
in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #9 in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #9 [4] in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/interDyMFoam"
[acelab-Latitude-6430U:04980] *** Process received signal ***
[acelab-Latitude-6430U:04980] Signal: Floating point exception (8)
[acelab-Latitude-6430U:04980] Signal code: (-6)
[acelab-Latitude-6430U:04980] Failing at address: 0x3e800001374
[acelab-Latitude-6430U:04980] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f52693fc4a0]
[acelab-Latitude-6430U:04980] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f52693fc425]
[acelab-Latitude-6430U:04980] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f52693fc4a0]
[acelab-Latitude-6430U:04980] [ 3] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam41outletPhaseMeanVeloci tyFvPatchVectorField12updateCoeffsEv+0x22b) [0x7f526cc8464b]
[acelab-Latitude-6430U:04980] [ 4] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam17mixedFvPatchFieldINS_ 6VectorIdEEE8evaluateENS_8UPstream10commsTypesE+0x 3b6) [0x7f526c9dd2c6]
[acelab-Latitude-6430U:04980] [ 5] interDyMFoam(_ZN4Foam14GeometricFieldINS_6VectorId EENS_12fvPatchFieldENS_7volMeshEE22GeometricBounda ryField8evaluateEv+0x16b) [0x44f9eb]
[acelab-Latitude-6430U:04980] [ 6] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam25dynamicMotionSolverF vMesh6updateEv+0x509) [0x7f526bb99f29]
[acelab-Latitude-6430U:04980] [ 7] interDyMFoam() [0x42a0d2]
[acelab-Latitude-6430U:04980] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f52693e776d]
[acelab-Latitude-6430U:04980] [ 9] interDyMFoam() [0x43689d]
[acelab-Latitude-6430U:04980] *** End of error message ***

in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #9 [7] in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/interDyMFoam"
[acelab-Latitude-6430U:04983] *** Process received signal ***
[acelab-Latitude-6430U:04983] Signal: Floating point exception (8)
[acelab-Latitude-6430U:04983] Signal code: (-6)
[acelab-Latitude-6430U:04983] Failing at address: 0x3e800001377
[acelab-Latitude-6430U:04983] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f93ea56c4a0]
[acelab-Latitude-6430U:04983] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f93ea56c425]
[acelab-Latitude-6430U:04983] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f93ea56c4a0]
[acelab-Latitude-6430U:04983] [ 3] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam41outletPhaseMeanVeloci tyFvPatchVectorField12updateCoeffsEv+0x22b) [0x7f93eddf464b]
[acelab-Latitude-6430U:04983] [ 4] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam17mixedFvPatchFieldINS_ 6VectorIdEEE8evaluateENS_8UPstream10commsTypesE+0x 3b6) [0x7f93edb4d2c6]
[acelab-Latitude-6430U:04983] [ 5] interDyMFoam(_ZN4Foam14GeometricFieldINS_6VectorId EENS_12fvPatchFieldENS_7volMeshEE22GeometricBounda ryField8evaluateEv+0x16b) [0x44f9eb]
[acelab-Latitude-6430U:04983] [ 6] /opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam25dynamicMotionSolverF vMesh6updateEv+0x509) [0x7f93ecd09f29]
[acelab-Latitude-6430U:04983] [ 7] interDyMFoam() [0x42a0d2]
[acelab-Latitude-6430U:04983] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f93ea55776d]
[acelab-Latitude-6430U:04983] [ 9] interDyMFoam() [0x43689d]
[acelab-Latitude-6430U:04983] *** End of error message ***
--------------------------------------------------------------------------
sorry but i can't help you here, I don't understand the error. Hope someone could help you.
ArathoN is offline   Reply With Quote

Old   October 16, 2014, 13:33
Default
  #7
New Member
 
Jason
Join Date: Oct 2014
Posts: 17
Rep Power: 11
J.Y.Won is on a distinguished road
Quote:
Originally Posted by ArathoN View Post
sorry but i can't help you here, I don't understand the error. Hope someone could help you.
OK, I'll seek a solution.
Thank for your kind advise.
Have a nice day
J.Y.Won is offline   Reply With Quote

Reply

Tags
toposet


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
running OpenFoam in parallel vishwa OpenFOAM Running, Solving & CFD 22 August 2, 2015 08:53
Problem when installing Openfoam 2.0.x with mac giovaniharyadi OpenFOAM Installation 0 March 24, 2012 18:45
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
paraFoam running problem Aleksey_R OpenFOAM 2 November 27, 2009 18:18
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38


All times are GMT -4. The time now is 16:25.