CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDFs: writing in a text file

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

LinkBack Thread Tools Display Modes
Old   June 2, 2005, 07:33
Default UDFs: writing in a text file
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
  Reply With Quote

Old   June 2, 2005, 12:15
Default Re: UDFs: writing in a text file
Posts: n/a
Refer Solution 1175 in the Online Technical Support (OTS) at
  Reply With Quote

Old   June 3, 2005, 12:20
Default Re: UDFs: writing in a text file
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.

  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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13: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
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 1 December 22, 2009 04:34
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 01:35.