|
[Sponsors] |
March 21, 2010, 09:19 |
mesh conversion Salome --> OpenFoam
|
#1 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
I generated a grid around a blade section with Salome and I want to import it in OpenFOAM. I set the domain boundaries, as in this procedure definition (from the Salome forum):
STEP1 Create groups of faces for all patches (undefined sufaces will became in OpenFOAM as defaultFaces patch). For example, for internal simulation, we need 3 groups: inlet, outlet and walls. STEP2 Mesh geometry. STEP3 Create group of faces for mesh. This is done by using Create group command in SMESH module and selecting checkbox faces. In the appeared dialog box we must enter name for group (or patch in OpenFOAM), e.g., inlet, outlet, walls. Then, we must select Group using geometry option and click on interesting group in tree view of meshed solid. STEP4 Export your mesh to I-DEAS format file (filename.unv). This file should be saved to the root of OpenFOAM case (where directories 0, constant, system). STEP5 Run utility ideasUnvToFoam. For example, if we are using terminal in case root, we should type: Code:
ideasUnvToFoam filename.unv Code:
checkMesh Code:
transformPoints -scale '(0.001 0.001 0.001)' I have a problem. At STEP5 I obtain: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : ideasUnvToFoam mesh.unv Date : Mar 21 2010 Time : 14:40:56 Host : giulia-laptop PID : 7755 Case : /home/giulia/OpenFOAM/OpenFOAM-1.6/run/hydrofoil nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time cannot open file file: /home/giulia/OpenFOAM/OpenFOAM-1.6/run/hydrofoil/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 62. FOAM exiting |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Salome] Problems for creating mesh in salome to OPENFOAM | bye bye my blue | OpenFOAM Meshing & Mesh Conversion | 8 | December 5, 2023 00:57 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[Commercial meshers] Mesh conversion .gtm to OpenFOAM | ansab | OpenFOAM Meshing & Mesh Conversion | 2 | December 6, 2016 13:48 |
[Commercial meshers] Problems with ANSYS mesh conversion | tdog | OpenFOAM Meshing & Mesh Conversion | 1 | March 31, 2016 17:36 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |