CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

simple problem with internal faces Boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2015, 07:01
Default
  #21
Member
 
Pruthvi
Join Date: Feb 2014
Posts: 41
Rep Power: 12
pruthvi1991 is on a distinguished road
//************ Problem solved ****************// If there are no non-conformal regions then OpenFOAM automatically considers the defaultFaces as an internal region

Hello everyone,

Similar problem here.

I have a structured + unstructured mesh from gmsh. There are a few internal faces which arise due to the hybrid mesh. Basically these are the intersections of different volumes. I'm not sure how to handle them. Importing the mesh to OpenFOAM defines them as follows

defaultFaces
{
type patch;
nFaces 284;
startFace 562756;
}

How must I define these faces in the 0 dictionary?

Here is the github link to the mesh https://github.com/pruthvi1991/gmsh/tree/master/pilot

Thanks,
Pruthvi.

Last edited by pruthvi1991; May 19, 2015 at 14:43. Reason: Problem solved
pruthvi1991 is offline   Reply With Quote

Old   July 19, 2015, 18:38
Default
  #22
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 16
Linse is on a distinguished road
Dear Zahra,

I am sorry for not answering earlier. I have been absent from this forum for a long time due to job-search, finishing reports, etc...

Nevertheless, for what it still might be worth: For your case you might consider a solver like rhoPorousSimpleFoam or porousSimpleFoam (depending if your case should be considered compressible or incompressible).
Probably these are the quickest solution for your case. Although I do not know how far these solvers consider heat transport within the porous phase (if needed).

Cheers,
Bernhard
Linse is offline   Reply With Quote

Old   June 8, 2019, 16:30
Default
  #23
New Member
 
Join Date: Dec 2015
Posts: 20
Rep Power: 11
Archana V is on a distinguished road
Quote:
Originally Posted by mrshb4 View Post
Dear Claudio,

When I said that OF convert internal face into patch, I didn't mean that it must be defined in boundary conditions. Look at this example:

I have a mesh in gambit with one face (and just one face) between 2 volumes and I won't define them as boundaries in gambit. Then bring them in .msh format and use fluentMeshToFoam command to convert that to OF type. In this conversion, OF automatically set that face into a default patch that you should have not define it in /polyMesh/boundary and 0 folder. It is a NEUTRAL interior, and that's it. Just test it.


( If it is 2 faces between 2 volumes it won't be internal face anymore, and you have 2 choices: 1- define both faces in gambit as boundaries that your case would work properly BUT with that BC that is not internal face anymore ( you should define it in /boundary in OF too). 2- not to define them in gambit as boundaries ( and so it won't come to OF boundaries too) that your case would not give you answer properly.)

Hope this helps
Mohammadreza
Hi,

But when you converting to OF then default patch is appearing in the polyMesh/boundary file. Do I have to delete that or I have to keep as it is. Will it appear in the 0 folder while using splitMeshRegions command. Mine is compound mesh generated in salome.


Thanks
Archana V is offline   Reply With Quote

Old   May 26, 2020, 06:02
Default
  #24
New Member
 
M.W.G.
Join Date: Sep 2018
Posts: 7
Rep Power: 8
M.W.G. is on a distinguished road
Quote:
Originally Posted by Archana V View Post
Hi,

But when you converting to OF then default patch is appearing in the polyMesh/boundary file. Do I have to delete that or I have to keep as it is. Will it appear in the 0 folder while using splitMeshRegions command. Mine is compound mesh generated in salome.


Thanks
Hi there,

So, did you manage to solve your problem? I am going through the same exact situation now
M.W.G. is offline   Reply With Quote

Old   March 15, 2021, 22:53
Smile solution for internal faces boundary condition
  #25
New Member
 
Guanwen Luo
Join Date: Jan 2021
Posts: 6
Rep Power: 5
zzluozz11 is on a distinguished road
Hi, I think the solution might be just simple. For the faces are actually interior fliuid, "zeroGradient" type of boundary is suitable.
zzluozz11 is offline   Reply With Quote

Old   April 21, 2022, 02:11
Default non-conformal meshes using anasys meshing
  #26
New Member
 
Emre
Join Date: Sep 2020
Posts: 7
Rep Power: 6
emrebnc is on a distinguished road
Hello Mohammad, my problem is that when i shace faces in space claim so that there is only one face between two volumes i can not give two different edge sizings to create a nonconformal mesh so ansys automatically creates contact regions. These regions show up in boundary file after fluent3dmeshtofoam conversion. if anyone has overcome this problem i would be very happy to listen to the solution.

Thank you



Quote:
Originally Posted by mrshb4 View Post
Dear Arne
My problem has been solved!!!!
It was easy and I wonder why I couldn't anywhere read about it!!!!
you know my fan(main problem that I want to model) is much complicated than this model.so I cant use diffrent mesh resolution for that!!!I just have to mesh different parts and then with internal faces gather them together.
but it is solved!!!!it is easy.
you should just mesh two volumes separately in gambit(any type of mesh you want),but it is essential that one and just one face should be between 2 volumes, and then when you want to mention boundaries and their types in gambit, dont even choose this internal face. openfoam automatically name it default-patch and finally set it interior face and not a boundary.

anyway
thank youfor your reply

Mohammad
emrebnc 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Outflow boundary condition in cartesian grid SIMPLE velocity-pressure coupling ghobold Main CFD Forum 9 September 19, 2015 03:50
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


All times are GMT -4. The time now is 01:40.