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/)
-   -   How to run DTCHull (https://www.cfd-online.com/Forums/openfoam-solving/159486-how-run-dtchull.html)

guzman September 16, 2015 09:52

How to run DTCHull
 
I am new to OpenFoam and am trying to run a range of examples.
I am trying to run DTCHull case, and I don't know how to do it. I did the following steps:

- blockMesh
- snappyHexMesh -overwrite
- decomposePar

Until here everything is ok. How should I proceed now?
Can anyone help me out here?

Thanks in advance

simon-2 September 16, 2015 12:02

you don't have to run them step by step. Just run the Allrun-Script. Alternatively, you can open this file in text editor to see what the single steps are and run them one after the other- maybe this helps to learn and understand what is done ;)

simon-2 September 16, 2015 12:40

PS: this case has a rather complex meshing procedure, so it is not the best case for getting started with openfoam. i recommend you to run (/try to understand) some easier tutorial cases first.

a more basic sequence is something like this:

-blockmesh (create the background mesh)
-snappyhexmesh (refine and snap to your geometry)
-run the main solver

additional steps are needed depending on the solver and problem, e.g. setFields to tell interDyMFoam where there is water and where there is air in the initial state.

unfortunately, openfoam is not that easy to get started, but with some reading and some trial and error, you will soon find out how things work.
good luck and keep on trying ;)

guzman September 17, 2015 05:17

OK! Thanks a lot for your replay! I will keep on trying :)

guzman September 21, 2015 10:59

Hi,

I ran the DTCHull case of the easy way (Allrun-Script) and appears this error:

ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 23 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/U: Unexpected token 0


ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 25 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/k: Unsupported directive includeEtc


ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 25 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/nut: Unsupported directive includeEtc


ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 25 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/omega: Unsupported directive includeEtc


ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 25 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/p_rgh: Unsupported directive includeEtc


ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467
vtkOpenFOAMReaderPrivate (0xa7204e8): Error reading line 25 of /home/hmc_ubuntu/OpenFOAM/openfoam240/tutorials/multiphase/interDyMFoam/ras/DTCHull1/0/pointDisplacement: Unsupported directive includeEtc

Can anyone help me with this?
Thanks in advance

raj kumar saini September 30, 2016 05:31

Quote:

Originally Posted by guzman (Post 564258)
I am new to OpenFoam and am trying to run a range of examples.
I am trying to run DTCHull case, and I don't know how to do it. I did the following steps:

- blockMesh
- snappyHexMesh -overwrite
- decomposePar

Until here everything is ok. How should I proceed now?
Can anyone help me out here?

Thanks in advance

It is running perfectly file.

Raj


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