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

Cylindrical Patch for interFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2006, 16:10
Default I am trying to simulate water
  #1
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 17
vatant is on a distinguished road
I am trying to simulate water drop (of diameter D) in moving air. For this purpose, I would like to solve a flow field and introduce a liquid drop into the system.

I see that boxtoCell would create a box type patch..how can I create a spherical fluid patch. If my case is axisymmetric what should I use?

I also did see the rotatedboxtoCell but not sure if its the right thing to use.
vatant is offline   Reply With Quote

Old   December 12, 2006, 02:23
Default HI: i am also interested in
  #2
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
HI:
i am also interested in the question.there are lots of branches in TopoSetValue.could anyone explain how to use these utilities
waynezw0618 is offline   Reply With Quote

Old   December 12, 2006, 04:13
Default You'll have to create your own
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You'll have to create your own code to generate and write out a faceSet (which can then be used to make a patch). (the faceSet application with the boxToFace, rotatedBoxToFace etc. sources just handles the most general cases)

faceSets are very easy to code, e.g.

// Generate faceSet called f0 with size 100
faceSet f0(mesh, "f0", 100);
// Add faces based on face centre
forAll(mesh.faceCentres(), faceI)
{
if (mesh.faceCentres()[faceI].x() < 0)
{
f0.insert(faceI);
}
}
// Write to file
f0.write();
mattijs is offline   Reply With Quote

Old   December 12, 2006, 05:08
Default hi Mattijs:thanks but i jus
  #4
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
hi Mattijs:thanks
but i just want to set a circul cylinder inside the hydrocylone which i want to patch a air-core,is there any basic sources ?how can i use them? thankS!
waynezw0618 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
Transient interFoam with MRF jaswi OpenFOAM Running, Solving & CFD 18 October 21, 2011 00:29
HELP NEEDED HOW TO MAP VALUES FROM PATCH OF ONE MESH TO PATCH OF ANOTHER MESH mkraposhin OpenFOAM Running, Solving & CFD 3 September 4, 2011 10:42
Runing InterFoam for 3 D damBreak case Patch issue nishant_hull OpenFOAM Running, Solving & CFD 5 February 18, 2009 01:32
InterFoam floooo OpenFOAM Running, Solving & CFD 0 November 3, 2008 12:00
Ask for a Phd thesis about interFoam zjucfd OpenFOAM Running, Solving & CFD 1 July 3, 2007 12:10


All times are GMT -4. The time now is 04:51.