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

[Other] Mesh and simulation two unconnected pipes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2018, 06:56
Default Mesh and simulation two unconnected pipes
  #1
New Member
 
Join Date: Oct 2018
Posts: 1
Rep Power: 0
pangasio is on a distinguished road
Hi everyone!


Problem description: I want to simulate the airflow through two parallel and not connected "pipes" (both pipes are not smooth inside and have their own geometry). The airflow enters both pipes from one side and exists from the opposite side. I have 3 stl files for each pipe describing the pipe, the inlet and the outlet region.

I initially merged the stl from both files together, obtaining an stl file describing the two pipes, a single inlet and a single outlet file for both. I tried to use snappyHexMesh to create the mesh and simpleFoam for the simulation, but due to the parameter locationInMesh I can basically select only one of the two pipes on which run the simulation.

After reading online and on this forum I changed approach and meshed the two pipes independently and then merged them together using mergeMeshes. which creates a new polymesh that I then move in the constant folder. I work with multiprocessor but if I try to run simpleFoam the decomposePar returns the following error:


Code:
--> FOAM FATAL IO ERROR: 
Cannot find patchField entry for walls

file: /home/mpiuser/cloud/noseCFD/max/0054-middle/left/run/0/k.boundaryField from line 28 to line 41.

    From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
     in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 191.
Is my approach valid or did I make some errors? Is it the described simulation (single airflow going through two not connected and similar geometry) doable in OpenFOAM?


Thanks in advance for the help!
pangasio is offline   Reply With Quote

Old   October 5, 2018, 01:49
Default
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Hi,

In th recent versions of snappyHexMesh you can specify multiple inside points using locationsInMesh entry. In this way you should be able to obtain your disconnected mesh from the beginning. This is what you do with CHT problems, for example, where you have fluid and solid regions.
Merging two meshes should work as well. The error you re Perot seems, to me, more related to the setup (fields and boundary file) than to a problem with the mesh. checkMesh can help you in this.

My silly question however is another one. If the pipes are disconnected, why don’t you keep it simple and simulate them separately, merging the results at post processing?

Francesco
fra76 is offline   Reply With Quote

Reply


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
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 05:28
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
Fatal overflow error, singularity, due to local mesh form? Thomasbr CFX 7 July 8, 2016 09:57
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Problem w/ vortex ring simulation, mesh coarseness parameters? ESC FLUENT 2 September 4, 2012 10:56


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