CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Salome] SALOME : How to define several CellZone

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2018, 14:19
Default SALOME : How to define several CellZone
  #1
New Member
 
Olivier Carpentier
Join Date: Mar 2018
Location: Bretagne
Posts: 1
Rep Power: 0
utawalpa is on a distinguished road
Hi,

The purpose of my study is to merge some solids in SALOME to define various CellZone and identify the porous ones.

I read a lot of post like this on CFD and Salome forums but with no solutions :

https://www.cfd-online.com/Forums/op...-openfoam.html

This is the problem :

"Geometry"
I create 3 3D cubes in Salome. Then I make a compound of this cubes and create groups for faces and solids.

"Mesh"
I mesh the compound and identify Groups of Faces and Groups of Volumes with "Create Group from geometry".

Mesh is export as file.unv

"OF"
This the result of ideasUnvToFoam command :


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.1
Exec : ideasUnvToFoam FullMesh.unv
Date : Mar 23 2018
Time : 19:04:41
PID : 13713
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
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 2896 points.

Processing tag:2412
Starting reading cells at line 5815.
First occurrence of element type 11 for cell 1 at line 5816
First occurrence of element type 41 for cell 381 at line 6956
First occurrence of element type 111 for cell 4183 at line 14560
Read 11130 cells and 3802 boundary faces.

Processing tag:2467
Starting reading patches at line 36822.
For group 1 named inlet trying to read 3724 patch face indices.
For group 2 named poro trying to read 3675 patch face indices.
For group 3 named outlet trying to read 3731 patch face indices.
For group 4 named finlet trying to read 56 patch face indices.
For group 5 named fwall_inlet trying to read 1158 patch face indices.
For group 6 named fwall_poro trying to read 1154 patch face indices.
For group 7 named fwall_outlet trying to read 1160 patch face indices.
For group 8 named foutlet trying to read 54 patch face indices.

Of 3802 so-called boundary faces 6 belong to two cells and are therefore internal
Sorting boundary faces according to group (patch)
0: inlet is cellZone
1: poro is cellZone
2: outlet is cellZone
3: finlet is patch
4: fwall_inlet is patch
5: fwall_poro is patch
6: fwall_outlet is patch
7: foutlet is patch

Constructing mesh with non-default patches of size:
finlet 56
fwall_inlet 1158
fwall_poro 1154
fwall_outlet 1160
foutlet 54

--> FOAM Warning :
From function Foam:olyMesh:olyMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595
Found 208 undefined faces in mesh; adding to default patch.
Adding cell and face zones
Cell Zone outlet 3731
Cell Zone inlet 3724
Cell Zone poro 3675

End

---

Patches for Face and CellZone seems to be well created but some files like Polymesh/CellZone are corrupted. The problem not occurs if I work with a single solid (even complex like pores assembly).

If I refer to forums information, it could be a problem of internal faces.

If I try a "repair" command in SALOME with "remove internal face", I'm not able to create groups from geometry (even if they are defined in the Geomtry like the previous try).

If I fuse the model, it works for boundaries but I'm not able to define various cellZone based on initial solids.


If anyone have an idea to define at last 3 connected solids on SALOME and export them on OpenFoam with various CellZone, I'll be very happy

Thanks in advance !
utawalpa is offline   Reply With Quote

Reply

Tags
porous cell zone, salome

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 22:13
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 1 October 10, 2018 03:16
udf-Surface Reaction Rate-parse error in line 34 priya_1985 FLUENT 1 November 10, 2014 03:48
udf problem eb.nabizadeh Fluent UDF and Scheme Programming 2 March 1, 2013 01:28
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 10:23


All times are GMT -4. The time now is 15:41.