CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

how to write torque (of pump rotor) to file automaticly? (CFX)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 28, 2012, 11:55
Question how to write torque (of pump rotor) to file automaticly? (CFX)
  #1
Member
 
Hai Yu
Join Date: Mar 2009
Location: OvgU, Magdeburg
Posts: 65
Rep Power: 7
yuhai is on a distinguished road
hallo, dear friends,
I am trying to find a way to write out the value of torque on a rotor, for each time step (from the third rotation to end of simulation), to a .txt file. (it would be much better, if i can get a time-averaged value for it by the end.)

I hope that could be done in an automatic way, that means, it could be done with a command-line command, or just by settings in the .def file. Because I need to do hundreds of simulations, and I don't want to do this each time by hand.

Can you give me some ideas? must I use User-Fortran? or just some settings in CFX-PRE?

(I am using CFX, transient)

Thanks in advance!
yuhai is offline   Reply With Quote

Old   February 28, 2012, 17:22
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,442
Rep Power: 76
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
The tutorials include an example of how to do something similar. Have a look at the immersed solid example.

Alternately you can write it to a monitor point and use cfx5mon (I think that's the right command, better check it) to extract it. Then a simple batch/script file can process it and produce whatever information you want.
ghorrocks is offline   Reply With Quote

Old   February 29, 2012, 10:18
Default
  #3
Member
 
Hai Yu
Join Date: Mar 2009
Location: OvgU, Magdeburg
Posts: 65
Rep Power: 7
yuhai is on a distinguished road
Thank you Glenn,
the command is cfx5mondata -res CFX_029.res -varrule "CATEGORY = USER POINT" -out aaa
yuhai is offline   Reply With Quote

Reply

Tags
cfx, files, torque

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
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 35 March 1, 2012 20:41
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 21:56.