|
[Sponsors] |
[Gmsh] Internal faces from gmsh how to create patches in OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 22, 2008, 11:14 |
Hi, Eugene,
Thanks a lot!
|
#21 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Eugene,
Thanks a lot! You are an angel. Pei |
|
February 25, 2009, 10:11 |
Hi Pei,
I am trying to make
|
#22 |
New Member
Steinar Aasebø
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hi Pei,
I am trying to make this FAN boundary working, but I do not understand how it should be set up. Is it possible that you could give me some hints? Best Regards, Steinar |
|
February 25, 2009, 10:51 |
Hi Pei,
I am trying to make
|
#23 |
New Member
Steinar Aasebø
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hi Pei,
I am trying to make this FAN boundary working, but I do not understand how it should be set up. Is it possible that you could give me some hints? Best Regards, Steinar |
|
July 10, 2009, 06:18 |
boundaries gmsh/openfoam
|
#24 | |
New Member
ouafa
Join Date: Jul 2009
Posts: 15
Rep Power: 17 |
bonjour,
en lisant vos échanges sur ce sujet, je m'aperçois que j'ai quasiment le même problème. en effet, j'ai défini un maillage avec gmsh que j'ai ensuite converti par gmshToFoam. dans le dictionnaire boundary, les faces intérieures ne sont pas prises en compte "empty with nFaces=0". j'ai essayé de suivre votre raisonnement mais j'avoue que je ne comprends pas vraimant ce qu'il faudrait que je fasse. est ce au niveau de gmsh ou d'openFoam? la commande createPatches semble résoudre ce problème mais comment l'utiliser? merci de votre aide et désolée si je vous écris en français. ouafa. Quote:
|
||
July 22, 2009, 12:30 |
|
#25 |
New Member
Poncho
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
I was trying to get something similar done in Salome. Basically a large box contains a fan that sucks volume from a certain shape duct or box if you will. The questions is will the fan be a single sheet body/surface/face or does it have to be two faces separated by a small distance as in the link down here.?
"The original FanCenter (imported from gmsh) is now split into FanCenter and FanCenter2 (two sides of the same patch)." http://www.cfd-online.com/OpenFOAM_D...es/1/8239.html I tried several ways on Salome to do this. One is where the box is solid and the duct is empty. I applied a pressure on the fan and inlet/outlet on the duct inlet. Ok I got something but obviously nothing inside the duct. Next i tried to remove the surface that serves as the inlet to the duct. This leaves the duct and fan as an open surface inside a closed volume. This did not mesh on Salome. So that brings the question: IF the fan can be simulated as only one face, how can I bring that face form a pro/e STEP file to Salome to open Foam. |
|
November 8, 2011, 12:04 |
a question about inner sampling faces
|
#26 |
Member
chenkai
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 16 |
Hi everyone,
I am now simulating two phase flow with Lagrange particle tracking in OpenFOAM. My domain is a simple rectangular duct. In order to compare the numerical particle properties with experiment data, I need to define a inner patch in my domain, which is parallel to the patch: Inlet and outlet, to sample the particle data. I have try with createBaffles to convert a faceSet to a patch. But I failed, because I am not familiar with these command. Does anyone has idea, how to create a inner sampling faces, which is only used to sample the data of the particles, who passes through it. thanks a lot in advance |
|
April 25, 2012, 17:19 |
|
#27 | |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 14 |
Quote:
Greetings! Can anyone please explain this move now? It seems some things have changed since 2008 and this could be done with topoSet (I guess). But I seem to can't figure this out. I managed to get internal patches with Baffles from gmsh, but I can't do these steps (get 2 sided patch). Sincerely, Martin Last edited by latvietis; April 25, 2012 at 17:56. |
||
April 25, 2012, 22:24 |
|
#28 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 14 |
I'm thinking I'm close, but something is not right:
Code:
FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name faceZone_6; type faceSet; action subset; source normalToFace; sourceInfo { normal (0 0 -1); cos 0.01; } } ); Code:
FoamFile { version 2.0; format ascii; class dictionary; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // pointSync false; // Patches to create. patches ( { // Name of new patch name faceZone_62; // Dictionary to construct new patch from patchInfo { type patch; } // How to construct: either from 'patches' or 'set' constructFrom set; set faceZone_6; } ); When I try to make a new patch I get this error: Code:
--> FOAM FATAL ERROR: Face 8768 specified in set faceZone_6 is not an external face of the mesh. This application can only repatch existing boundary faces. What am I doing wrong? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
parallel run OpenFoam | Srinath Reddy | OpenFOAM Running, Solving & CFD | 13 | February 27, 2019 10:15 |
[snappyHexMesh] SHM is not extruding/adding Layers everywhere | matthiasd | OpenFOAM Meshing & Mesh Conversion | 2 | October 16, 2016 17:45 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 15:49 |
createPatch Segmentation Fault (CORE DUMPED) | sam.ho | OpenFOAM Pre-Processing | 2 | April 21, 2014 03:01 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |