|
[Sponsors] |
how to write torque (of pump rotor) to file automaticly? (CFX) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2012, 12:55 |
how to write torque (of pump rotor) to file automaticly? (CFX)
|
#1 |
Member
Hai Yu
Join Date: Mar 2009
Location: Harbin
Posts: 67
Rep Power: 17 |
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! |
|
February 28, 2012, 18:22 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
February 29, 2012, 11:18 |
|
#3 |
Member
Hai Yu
Join Date: Mar 2009
Location: Harbin
Posts: 67
Rep Power: 17 |
Thank you Glenn,
the command is cfx5mondata -res CFX_029.res -varrule "CATEGORY = USER POINT" -out aaa |
|
Tags |
cfx, files, torque |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU Linear Solvers for OpenFOAM | gocarts | OpenFOAM Announcements from Other Sources | 37 | August 17, 2022 15:22 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |