CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

How can I define the cell centers without using writeCellCenters?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 21, 2011, 08:34
Default How can I define the cell centers without using writeCellCenters?
  #1
New Member
 
Taylorreihe
Join Date: Dec 2010
Posts: 4
Rep Power: 6
Taylorreihe is on a distinguished road
Hello,

I want to define the cell centers so I have the coordinates for my Velocity U and my pressure p without using the command writeCellCenters. I have a mesh that do not move. Can somebody help me and know a method to avoid that the coordinates are written in every time directory?

Thank you in advance.
Taylorreihe is offline   Reply With Quote

Old   April 21, 2011, 09:35
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,553
Rep Power: 23
ngj will become famous soon enoughngj will become famous soon enough
Hi

You can typically write

Code:
writeCellCentres -help
to see the available options. In your case you can use either

Code:
writeCellCentres -latestTime
writeCellCentres -time <VALUE>
depending on the time folder, where you want the values to be written.

Best regards

Niels
ngj is offline   Reply With Quote

Old   April 23, 2011, 18:35
Default
  #3
New Member
 
Taylorreihe
Join Date: Dec 2010
Posts: 4
Rep Power: 6
Taylorreihe is on a distinguished road
Hi Niels,

thank you very much :-)! It's quite simple :P.

Have a nice weekend.

Best regards,
Kris
Taylorreihe is offline   Reply With Quote

Old   May 5, 2011, 07:54
Default
  #4
New Member
 
Join Date: Mar 2011
Posts: 6
Rep Power: 5
sakro is on a distinguished road
Hi, my question is pretty much related to this thread =)
is it possible to get cell centers only for a cellSet? Not for every cell in my mesh?
sakro 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
How can I get Help? Scalar transport_source term lig Fluent UDF and Scheme Programming 0 May 9, 2010 23:30
Re: scalar transport equation problem Benny FLUENT 4 May 9, 2010 23:12
How to calculate the cell area Le FLUENT 0 February 18, 2007 23:15
How to define diffusivities in Fuel cell Model braket FLUENT 1 February 17, 2007 19:08
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 19:39.