|
[Sponsors] |
November 2, 2017, 06:47 |
|
#21 | |
Senior Member
|
Quote:
I think it's correct to say that: you can't define a BOUNDARY CONDITION on a cell center (in case of openFOAM); because if you're setting a condition on a cell center (in case of openFOAM) you're setting an INITIAL CONDITION, that furthermore it can be constant during your simulation, or dependent by the BOUNDARY CONDITIONS of the BOUNDARIES of your domain...that's the reason createPatch utility complains about and ask for a faceSet or subset of faces... So you can't obtain it directly, but: if you have to set a boundary condition on the BOUNDARY of your domain, that has a different shape, you should extract you circular patch with other tools (e.g. setSet) or prepare your starting mesh differently... hint: take for example the tJunctionFan tutorial Regards |
||
November 2, 2017, 11:10 |
|
#22 |
New Member
Join Date: Feb 2013
Posts: 24
Rep Power: 13 |
Thanks student666
I already created 3D rectangular geometry with block mesh (20cm*20cm*50cm). Now I just want to pump air in to this 3D geometry (initially filled with water) through a circular inlet on the bottom face (radius = 2 cm). I used faceset with cylindertocell source. p1 and p2 points lies on the same face (center of the bottom wall: x=10 cm, y=10 cm, z=0 cm). The code is running with out any errors this time. But I was unable to see the circular inlet and air flow through it. I am attaching my files below. Please Help me with it. |
|
November 2, 2017, 12:28 |
|
#23 |
Senior Member
|
Code:
Create polyMesh for time = 0 Reading createPatchDict Adding new patch inlets as patch 3 from { type patch; } Read 0 faces from faceSet faceGrabbed Doing topology modification to order faces. Not synchronising points. Removing patches with no faces in them. No patches removed. Writing repatched mesh to 0 End Hint: check one more time.... NOTE: In any case, OpenFoam differently from other codes, gives full explanations about errors, please read carefully the outputs! |
|
November 2, 2017, 13:17 |
|
#24 |
New Member
Join Date: Feb 2013
Posts: 24
Rep Power: 13 |
Thanks student666
I have double checked the coordinates. In TopoSet dictionary as given below: actions ( //Grabbing Faces { name faceGrabbed; type faceSet; action new; source cylinderToCell; sourceInfo { p1 (0.1 0.1 0); p2 (0.1 0.1 0); radius 0.02; } } ); I tried to make a circle on the bottom face of the 3D rectangular enclosure (0.2metre*0.2metre*0.5metre). My enclosure coordinates are (x=0.2 y=0.2 z=0.5). Now in the above toposet dictionary: I selected p1 as (0.1 0.1 0), this keeps the circle center exactly on the bottom face. However, since I need a circular inlet and the source is a cylinder, my p2 will coincide with p1 and hence the cylinder confines to circle. If possible, you try to make a circle of your choice in the files i sent you. Let me know if any thing works or if any way is possible to solve this. Thanks in advance. |
|
January 19, 2021, 04:04 |
|
#25 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
I have remved my question from here soplease disregard. I have asked complete query in a new thread named topoSetDict
|
|
April 30, 2021, 03:07 |
|
#26 | |
New Member
Shanqin Jin
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
Quote:
I am learning to use the topset for defining the regions of overset grids. The following is an example of openfoam tutorial. I don't know how to define the value of insidePoints, and what is the mean of invert. Can you help me? actions ( { name c0; type cellSet; action new; source regionToCell; sourceInfo { insidePoints ((0 1.5 0)); } } { name c1; type cellSet; action new; source cellToCell; sourceInfo { set c0; } } { name c1; type cellSet; action invert; } ); ------ Shanqin |
||
December 16, 2022, 06:03 |
|
#27 |
New Member
Reda aftiss
Join Date: Apr 2022
Posts: 3
Rep Power: 4 |
||
March 3, 2023, 22:12 |
extract the patch between two cellsets
|
#28 | |
New Member
金卓颖
Join Date: Mar 2023
Posts: 3
Rep Power: 3 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |