|
[Sponsors] |
December 6, 2012, 09:14 |
setFields in a inner part of a grid
|
#1 |
Member
Join Date: Aug 2011
Posts: 89
Rep Power: 14 |
Hello,
I have the following problem with OpenFOAM and the command setFields: My grid is looking like that: A rectangular channel is around a cylinder. There is some space between the cylinder and the rectangular channel where air can flow. In the middle of the cylinder is a channel where liquid should flow. The space between the cylinder and the channel has no cells because it should be solild. So there is no connection between these two parts. The cylinder has a gap where the liquid enters the area between the rectangular channe and the cylinder. I want to initialize the inner channel with liquid. But setFields does not work. I can only initialize the outer part. Have anybody the same problem? Does andybody know a solution? I hope I explained my problem in a way that you understand it. Thanks a lot. |
|
December 7, 2012, 02:55 |
Dear idefix,
|
#2 |
Senior Member
|
Have you tried specifying the Xmin, Ymin, Zmin... in the region of setFieldsDict...
Try to get the exact position of the box Face.. Because it seems your positioning could be one of the reason... Best of Luck! |
|
December 7, 2012, 04:14 |
|
#3 |
Member
Join Date: Aug 2011
Posts: 89
Rep Power: 14 |
My first step was to make a big box around the whole inner channel. It was bigger than the channel itself. So the box was around the inner channel and the cylinder. In this case I can see that the definition alpha1=1 worked. When the box was so small that no part of the cylinder was included it completly disappeard.
So I am sure that the setFieldsDict is working. Do you have another idea? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error near boundary layer as 1st grid decrease | CF | Main CFD Forum | 3 | October 3, 2007 10:21 |
"grid points" or "grid interface" | ztdep | Main CFD Forum | 1 | June 6, 2007 15:00 |
Nonlinear Multigrid: Coarse Grid Operators | Greg Lewin | Main CFD Forum | 0 | December 1, 2006 09:39 |
Fine grid embedding | Philip Peeples | Phoenics | 1 | July 3, 2002 18:32 |
Grid Quality and the Solution | Faraz | Main CFD Forum | 4 | January 10, 2000 18:18 |