CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

setFields in a inner part of a grid

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2012, 09:14
Default setFields in a inner part of a grid
  #1
Member
 
Join Date: Aug 2011
Posts: 89
Rep Power: 14
idefix is on a distinguished road
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.
idefix is offline   Reply With Quote

Old   December 7, 2012, 02:55
Post Dear idefix,
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
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!
Tushar@cfd is offline   Reply With Quote

Old   December 7, 2012, 04:14
Default
  #3
Member
 
Join Date: Aug 2011
Posts: 89
Rep Power: 14
idefix is on a distinguished road
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?
idefix is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:07.