CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Writing forces to text files

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

LinkBack Thread Tools Display Modes
Old   May 10, 2007, 12:15
Default I need help writing the follow
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 10
christian is on a distinguished road
I need help writing the following code:

Write to a text file the force acting on each cell face of a boundary (patch number N).
In the same file write in the 4-6th columns the corresponding coordinates of each cell face.
Do this at an arbitrary time interval T.
The name of the text file is supposed to include the current time as well as an arbitrary description text.

How can the time interval (T) be picked from the output data interval set in the controlDict file?

Hope to hear from someone soon.

Best regards,
Christian Svensson
christian is offline   Reply With Quote

Old   March 20, 2011, 00:20
Default did u find a way?
New Member
Join Date: Feb 2011
Posts: 13
Rep Power: 8
ksv is on a distinguished road

Did you find a way to write force acting on each face of a boundary to a txt file? As am facing the same issue I would like to seek your suggestion in this regard.

ksv is offline   Reply With Quote


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
Writing geometry files in STAR-CD Sachin Siemens 5 April 22, 2008 16:38
Problems With Journal When Writing Forces To File Andrew FLUENT 2 September 23, 2005 02:12
UDFs: writing in a text file Teresa FLUENT 2 June 3, 2005 12:20
Pb with writing the Case and Dat files Sam FLUENT 2 May 14, 2004 11:16
Forces DATA FILES jkl FLUENT 1 March 21, 2003 07:46

All times are GMT -4. The time now is 10:44.