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

Could you please help me about the cells

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2005, 03:24
Default Dear all, I have a question
  #1
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 8
liugx212 is on a distinguished road
Dear all,

I have a question about how to create cells. I only know using six points which is the center point to express but I want to know how to calculate and how to order these cells. Please give me advice and help.

Thanks deeply,
Guo
liugx212 is offline   Reply With Quote

Old   February 25, 2006, 19:44
Default Hello, Can you tell me how
  #2
New Member
 
Jeff Allen
Join Date: Mar 2009
Posts: 11
Rep Power: 8
jballen is on a distinguished road
Hello,

Can you tell me how to get the x,y,and z coordinates for a given face (ie: faceI of cPatch)?

Respectfully
Jeff
jballen is offline   Reply With Quote

Old   February 26, 2006, 16:20
Default Hi friend: You can try as b
  #3
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 8
liugx212 is on a distinguished road
Hi friend:

You can try as belows please. I am not sure but only trying.

forAll(U, cellI)
{
U[cellI].component(vector::Z)=0.0;
if(((yb[cellI])>25e-3)||((xb[cellI]<0.05)&&(yb[celli]>0.019)&&(yb[cellI]<0.021)) )
{
U[cellI].component(vector::X)=0.0;
U[cellI].component(vector::Y)=0.0; }
}
liugx212 is offline   Reply With Quote

Old   February 27, 2006, 06:04
Default Hi Jeff, look at polyPath::
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Hi Jeff,

look at polyPath::faceCentres() i.e.

cPatch.faceCentres()
mattijs is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuel Cells Munir Ahmed Khan FLUENT 2 July 22, 2009 12:30
How can I get the VOF value of specified cells Rui CD-adapco 2 February 2, 2007 04:20
cells less than one Andrew Garrard FLUENT 6 January 27, 2005 06:15
Shell cells to Fluid cells Mahbub CD-adapco 1 October 20, 2003 15:21
UDF: neighbour cells, upwind cells Dmitriy Makarov FLUENT 0 February 18, 2001 14:53


All times are GMT -4. The time now is 02:13.