|
[Sponsors] |
unable to convert salome unv file into openfoam configuration |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 2, 2018, 05:43 |
unable to convert salome unv file into openfoam configuration
|
#1 |
New Member
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 7 |
Hiii,
After creating group of the mesh in salome i tried to covert .unv file into openfoam format but after running the <ideasUnvToFoam symmetric-mesh.unv>i m getting fatal errors which i'm attaching below kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh$ ls symmetric-mesh.unv system kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh$ ideasUnvToFoam symmetric-mesh.unv /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 6-d3fd147e6c65 Exec : ideasUnvToFoam symmetric-mesh.unv Date : Dec 02 2018 Time : 16:11:59 Host : "kuldeep-HP-15-TS-Notebook-PC" PID : 20491 I/O : uncollated Case : /home/kuldeep/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Processing tag:164 Starting reading units at line 3. l:1 units:" SI: Meter (newton)" unitType:2 Unit factors: Length scale : 1 Force scale : 1 Temperature scale : 1 Temperature offset : 273.15 Processing tag:2420 Skipping tag 2420 on line 9 Skipping section at line 9. Processing tag:2411 Starting reading points at line 20. Read 87751 points. Processing tag:2412 Starting reading cells at line 175525. First occurrence of element type 22 for cell 1 at line 175526 --> FOAM Warning : From function void readCells(Foam::IFstream&, Foam:ynamicList<Foam::cellShape>&, Foam:ynamicList<int>&, Foam:ynamicList<int>&, Foam:ynamicList<Foam::face>&, Foam:ynamicList<int>&, Foam:ynamicList<int>&) in file ideasUnvToFoam.C at line 463 Reading "symmetric-mesh.unv" at line 175526 Cell type 22 not supported --> FOAM FATAL IO ERROR: Attempt to get back from bad stream file: IStringStream.sourceFile at line 0. From function bool Foam::Istream::getBack(Foam::token&) in file db/IOstreams/IOstreams/Istream.C at line 56. FOAM exiting kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh$ |
|
December 2, 2018, 06:29 |
|
#2 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 11 |
Extrude the mesh a nominal amount (1m, 0.001mm, whatever is easy), 2d elements are not supported by OF ( cell type 22 )
|
|
December 2, 2018, 11:36 |
|
#3 |
New Member
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 7 |
can you please explain me in detail the solution as i'm new to openfoam
|
|
December 2, 2018, 13:18 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
If you try to import a 2D mesh into openfoam it will blow up. If you have a 2D problem you still need a 3D mesh, but only 1 cell in the 3rd dimension. So in salome extrude your mesh with 1 cell thickness. Then you can import it. The thickness of the cell is up to you. The solver won't solve the equations in the 3rd dimension so it can be anything. |
|
December 2, 2018, 13:42 |
|
#5 |
New Member
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 7 |
i'm having 3d problem as i meshed it using netgen 1d-2d-3d. How to convert it into 3d mesh because i'm trying to extrude it but it is not able to do that. suggest me the solution please.
|
|
December 2, 2018, 15:20 |
|
#6 |
New Member
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 7 |
i have reached upto this but after giving the command <paraFoam> paraFoam opens and then closes. i'm attatching the error shown in the command terminal
FOAM exiting Segmentation fault (core dumped) kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh$ paraFoam Created temporary 'symmetric-mesh.OpenFOAM' I/O : uncollated --> FOAM FATAL IO ERROR: patch type 'patch' not constraint type 'empty' for patch walls of field p in file "/home/kuldeep/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh/0/p" file: /home/kuldeep/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh/0/p.boundaryField.walls from line 35 to line 35. From function Foam::emptyFvPatchField<Type>::emptyFvPatchField(c onst Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double] in file fields/fvPatchFields/constraint/empty/emptyFvPatchField.C at line 80. FOAM exiting Segmentation fault (core dumped) kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/tutorials/incompressible/icoFoam/symmetric-mesh$ |
|
December 2, 2018, 15:59 |
|
#7 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
The boundaty definition is inconsistent for the "walls" patch.
In the p file you set empty type for the patch, but in your mesh definition (constant/polyMesh/boundary) the type is patch. You can just rewrite the type in the constant/polyMesh/boundary file, or you can use changeDictionary, but I think the simplest if you just overwrite it by hand. Of course if you will have to do it many times (ie. parameter study), you should use an utility for automatization. |
|
May 15, 2019, 07:23 |
|
#8 | |
New Member
Rakesh Awhad
Join Date: May 2019
Posts: 6
Rep Power: 6 |
Quote:
Apologies for reopening this old post. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
[waves2Foam] Tripping over several build issues with OpenFOAM 2.1.1 | Yage | OpenFOAM Community Contributions | 18 | February 15, 2016 02:02 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |