CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDFs: writing in a text file

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

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

Old   June 2, 2005, 12:15
Default Re: UDFs: writing in a text file
  #2
pUl|
Guest
 
Posts: n/a
Refer Solution 1175 in the Online Technical Support (OTS) at http://clarify.fluent.com/eSupport
  Reply With Quote

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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 2 June 25, 2021 08:10
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 20:29.