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

[mesh manipulation] How to separate frontAndBack

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2021, 00:20
Default How to separate frontAndBack
  #1
Senior Member
 
Join Date: Jun 2016
Posts: 102
Rep Power: 10
xuegy is on a distinguished road
Hello all,

I have a 2D mesh from fluent. When I run fluentMeshToFoam, it is automatically converted to a single layer 3D mesh. The front and back planes are combined in a single patch named "frontAndBackPlanes".
There is a tutorial that splits the boundary patch: patch splitting for different boundary conditions However, since "front" and "back" patches share the same cell, this trick doesn't work.
I know that the ultimate solution is to make a single-layer 3D mesh in fluent but is there any workaround to do it within OpenFOAM?

Thanks!
xuegy is offline   Reply With Quote

Old   January 26, 2021, 10:51
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Maybe it is a silly question, but why do you need to split it? 2D mesh -> front and back are empty, and you will need the same BCs there.
Also you shouldn't evaluate anything there so I think there is no reason for that.


BTW: check the topoSet and createPatch utlities.
simrego is offline   Reply With Quote

Old   January 26, 2021, 11:42
Default
  #3
Senior Member
 
Join Date: Jun 2016
Posts: 102
Rep Power: 10
xuegy is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


Maybe it is a silly question, but why do you need to split it? 2D mesh -> front and back are empty, and you will need the same BCs there.
Also you shouldn't evaluate anything there so I think there is no reason for that.


BTW: check the topoSet and createPatch utlities.
I need to use extrudeMesh to generate a 3D pipe from the cross-section. That’s why I want a separate face.
Or is there anyway to get a 2D face patch from Fluent directly?
xuegy is offline   Reply With Quote

Old   January 26, 2021, 11:53
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Well. Then it would be nicer to do it with blockMesh.
As I know you can't do it. So it this case I would go with topoSet+createPatch and extrude that patch.
Or simply do it in fluent which is the easiest way.


And as you originally asked:
"is there any workaround to do it within OpenFOAM?"
Yes, there is a workaround for nearly everything in OpenFOAM, but in the worst case you have to code a little.
simrego is offline   Reply With Quote

Reply

Tags
fluentmeshtofoam

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
Running multiple separate Serial runs on separate cores FlyBoy38L SU2 0 July 1, 2019 14:48
Separate cells by IsoSurface? vidyadhar FLUENT 1 June 18, 2019 09:15
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff swahono OpenFOAM Running, Solving & CFD 10 October 15, 2018 06:43
[DesignModeler] Creating Two Separate Bodies in Design Modeller ashtonJ ANSYS Meshing & Geometry 39 June 6, 2018 18:31
[Commercial meshers] import two separate gambit mesh file for solid and fluid regions rapierrz OpenFOAM Meshing & Mesh Conversion 0 December 31, 2015 11:26


All times are GMT -4. The time now is 04:34.