CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM CC Toolkits for Fluid-Structure Interaction (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/)
-   -   [solidMechanics] baffles in openfoam extend (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/128172-baffles-openfoam-extend.html)

ripudaman January 5, 2014 16:56

baffles in openfoam extend
 
Hi there,

I was trying to solve the problem of using solidDisplacementFoam in OpenFOAM 2.2 to create a Penny Shaped Fracture. I was able to do that by using an STL file of a circular surface and using SHM to apply opposite forces on the two faces of the surface to create a fracture.

Now I have moved on to OpenFOAM extend 1.6 to make use of the solidMechanics applications available there to expand my work. I am facing difficulty in reproducing the penny shaped fracture case there. It gives me an error saying that

--> FOAM FATAL IO ERROR:
keyword level is undefined in dictionary "/home/ripu/OpenFOAM/OpenFOAM-1.6-ext/tutorials/solidMechanics/elasticSolidFoam/Penny/system/snappyHexMeshDict::castellatedMeshControls::featur es"

file: /home/ripu/OpenFOAM/OpenFOAM-1.6-ext/tutorials/solidMechanics/elasticSolidFoam/Penny/system/snappyHexMeshDict::castellatedMeshControls::featur es from line 46 to line 47.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 396.

FOAM exiting

I realize that this is because of the incapability of SHM to handle feature edge handling in OF1.6-extend. Is there any other way of doing this?

Thanks
Ripu

Tobi January 8, 2014 06:58

Hey,


First hint:

- in your error message it seems that you wrote a word wrong:
Code:

keyword level is undefined in dictionary "/home/ripu/OpenFOAM/OpenFOAM-1.6-ext/tutorials/solidMechanics/elasticSolidFoam/Penny/system/snappyHexMeshDict::castellatedMeshControls::featur es"
 
keyword level is undefined in dictionary "/home/ripu/OpenFOAM/OpenFOAM-1.6-ext/tutorials/solidMechanics/elasticSolidFoam/Penny/system/snappyHexMeshDict::castellatedMeshControls::featur_es"

Second hint:

- you switched to OF-1.6-ext but I think you have already the 2.2 Version on your Computer. Therefor you can mesh in 2.2. and then use the mesh to use it on 1.6-ext for your solid mechanic solvers.

- That give you the ability to use the Advantage of sHM in 2.2. and the solvers of 1.6-ext


Additional:

- it is a Long time ago that I used the extend Version because at the Moment I can do everything with 2.2.x. Therefor I do not know how good the snappyHexMesh Version works in the extend Version.

I thought that the extend Version will be released last year (OpenFOAM-2.0-ext) ... hmmm but still nothing happend.

ripudaman January 8, 2014 11:49

Thank you very much for your reply Tobias. For now I have moved back to OpenFOAM 2.2.2 to take care of the task at hand. I will look into this in detail when I really need to. Your idea about using 2.2.x for SHM and 1.6-ext for solver is enticing.

Thanks again.
Ripu


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