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

[Salome] Pipes inside tank

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2020, 10:24
Default Pipes inside tank
  #1
New Member
 
ggg
Join Date: Feb 2020
Posts: 3
Rep Power: 6
ge643 is on a distinguished road
I want to simulate flow inside a tank in OpenFoam. I’ve made a simple test tank with pipes that go through the wall and continues inside the tank. The flow comes in trough one pipe and out the other.

The problem is meshing this in Salome when there are pipes inside the tank. I’ve tried multiple approaches but this is the closest one. See attached study. (The file was to big for the forum, uploaded here https://send.firefox.com/download/90...MbFnuzaL_4ss0A)


When I run ideasUnvToFoam Mesh_1.unv I get the following errors:

Code:
  Of 3340 so-called boundary faces 904 belong to two cells and are therefore internal
  Sorting boundary faces according to group (patch)
  0: wall is faceZone
  1: inlet is patch
  2: outlet is patch
  3: none is faceZone
   
  Constructing mesh with non-default patches of size:
      inlet       48
      outlet      46
   
  --> FOAM Warning :
      From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, 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 593
      Found 2342 undefined faces in mesh; adding to default patch defaultFaces
  Adding cell and face zones
  Face Zone wall         3056
  ideasUnvToFoam: ideasUnvToFoam.C:1262: int main(int, char**): Assertion `noveau > -1' failed.
  Aborted (core dumped)
Any suggestions?
Attached Images
File Type: png Capture.PNG (11.8 KB, 23 views)
ge643 is offline   Reply With Quote

Old   February 11, 2020, 11:24
Default
  #2
New Member
 
ggg
Join Date: Feb 2020
Posts: 3
Rep Power: 6
ge643 is on a distinguished road
It looks like the problem is the extra faces that are inside the pipes (marked with red dots). I’ve tried removing these without luck. Does any one know how this can be done in Salome?
Attached Images
File Type: png salome.png (11.7 KB, 17 views)
ge643 is offline   Reply With Quote

Old   August 23, 2023, 13:59
Default
  #3
New Member
 
christopher van rees
Join Date: Jun 2021
Location: Chile
Posts: 9
Rep Power: 5
ctvanrees is on a distinguished road
Maybe this is a bit too old, but I had a similar problem and maybe this can help someone.

What I did was basically give a "thickness" to the pipe, the solid cube with a pipe sticking out. Then I just did a cut with a "donut-shape" cylinder.

Attached some images to help understand the process. Hope this helps someone.
Attached Images
File Type: png Capture.PNG (19.4 KB, 18 views)
File Type: png Capture2.PNG (20.8 KB, 18 views)
ctvanrees is offline   Reply With Quote

Reply

Tags
salome, salome meshing


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
[snappyHexMesh] snappyHexMesh not deleting the inside cells Bdew8556 OpenFOAM Meshing & Mesh Conversion 9 May 14, 2019 11:53
Need Help! High pressure Gas discharge from tank to tank through a pipe superarthur86 FLUENT 2 June 16, 2017 11:22
[snappyHexMesh] SHM error: inside mesh not possible Naresh yathuru OpenFOAM Meshing & Mesh Conversion 1 January 11, 2017 00:58
Gas tank discharging marian.nedelcu System Analysis 1 July 12, 2016 14:32
free surface inside a stirred tank mystic_cfd FLUENT 5 December 11, 2002 10:27


All times are GMT -4. The time now is 13:00.