setFields in a inner part of a grid
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.
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!
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?
|All times are GMT -4. The time now is 17:04.|