|
[Sponsors] |
June 2, 2005, 08:33 |
UDFs: writing in a text file
|
#1 |
Guest
Posts: n/a
|
Hi!Im making my final thesis project with Fluent. Now I'm with UDFs and I've a question: I would like to write at the end of every time-step the value of some variables that i ve created in a text file (data.txt), how can i do? I know the function fprintf, but i don't how to use well. Thank you Teresa
|
|
June 2, 2005, 13:15 |
Re: UDFs: writing in a text file
|
#2 |
Guest
Posts: n/a
|
Refer Solution 1175 in the Online Technical Support (OTS) at http://clarify.fluent.com/eSupport
|
|
June 3, 2005, 13:20 |
Re: UDFs: writing in a text file
|
#3 |
Guest
Posts: n/a
|
Try using ''execute commands ... '' option in FLUENT. Through this you can execute a macro after every n iterations OR after every n time steps. The macro is a collection of commands. It may work.
Saad |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 2 | June 25, 2021 09:10 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |