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

Writing forces to text files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2007, 13:15
Default I need help writing the follow
  #1
Member
 
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 17
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?
  #2
ksv
New Member
 
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 15
ksv is on a distinguished road
Hi,

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.

Thanks
kcv
ksv is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 14:53.