|
[Sponsors] |
How to create cyclic boundary(fan B.C.) in openFOAM200. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2011, 18:18 |
How to create cyclic boundary(fan B.C.) in openFOAM200.
|
#1 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
Hello,
Are there any procedure I can try? |
|
September 3, 2011, 06:14 |
|
#2 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
I would like to create cells like fig.b shown in the attachment. But, I get the cells like c.
|
|
September 4, 2011, 06:45 |
|
#3 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
How can I create cell shown in figure b, using snappyHexMesh and stl file?
regards, |
|
September 5, 2011, 07:13 |
|
#4 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
Are there any ideas to merge faces red and blue shown as figure c? I want to get inner faces shown as figure b?
|
|
September 5, 2011, 14:33 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings asamit,
AFAIK interior patches cannot be created inside a mesh in OpenFOAM. Mmm, I guess I'll quote (source): Quote:
You can select the cells that next to the desired STL surface and then use that cellSet as a reference in either setFields or swak4foam. I can't remember properly, but I think that setSet is what you'll need. Another possibility would be to use one of the chtMultiRegion*Foam solvers, but this requires that you have two mesh volumes, not just one; i.e., you would have to split your mesh into two regions. See the tutorials at "tutorials/heatTransfer" for more ideas. Best regards and good luck! Bruno
__________________
|
||
September 8, 2011, 07:35 |
|
#7 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
If I could use boolean operation between normalToFace and patchToFace, within setSet command, I could get the blue line shown in figure b.
Last edited by asamit; September 8, 2011 at 08:04. |
|
September 9, 2011, 23:46 |
|
#8 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
↑
This is wrong. constant/PolyMesh/faces already has red and blue faces, before applying patchToFace. |
|
September 10, 2011, 10:53 |
|
#9 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
I modified constant/polyMesh/boundary by hand.
5 ( fan_half0 { type cyclic; → nFaces 52; → startFace 25148; matchTolerance 0.0001; neighbourPatch fan_half1; } fan_half1 { type cyclic; → nFaces 52; → startFace 25200; matchTolerance 0.0001; neighbourPatch fan_half0; I would like to do this by command. |
|
September 10, 2011, 21:57 |
|
#10 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
How can I reduce zigzag?
|
|
September 12, 2011, 03:01 |
|
#11 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
I give up on this. Next, I will try fieldSet and chtMultiRegion. Are they possible to simulate a P-Q? Any ideas?
|
|
September 20, 2011, 16:14 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi asamit,
I don't know if you figured out the solution to your problem, but here is a couple of old threads that I've reviewed just now: http://www.cfd-online.com/Forums/ope...-parallel.html - there you will have access to more information about a case that uses cyclic patches that are next to each other, which sounds a bit like what you are looking for. As for modifying from the command line something in a dictionary/boundary file, look at the examples for using changeDictionary, by running this command: Code:
find $WM_PROJECT_DIR -name changeDictionaryDict Bruno
__________________
|
|
September 23, 2011, 09:11 |
|
#13 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
Hi Bruno,
I gave up on checking chtMultiRegion or changeDictionary. I found fanPressure BC. It works fine. It does not require creating identical mesh that required for a Type cyclic. Thank you for many advices.asamit |
|
September 23, 2011, 09:51 |
|
#14 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
What about using baffles? (I have never used them myself). But from the tutirials, they seem to be designed to provide zero-thickness flat bodies inside the computational domain.
Mirko |
|
September 24, 2011, 20:42 |
|
#15 |
New Member
anonymous
Join Date: Feb 2011
Posts: 22
Rep Power: 15 |
I have tried faceSet, cellSet, faceZoneSet, and createBaffles. But they did not work well with snappyHexMesh.
asamit |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 09:03 |
Cyclic B.C -interDyMFOAM-Gambit Mesh-Parallel | farhagim | OpenFOAM | 3 | March 12, 2011 23:29 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |