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

pressure time history of some nodes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2010, 14:29
Default pressure time history of some nodes
  #1
New Member
 
ibuki kusano
Join Date: Mar 2009
Location: Spain
Posts: 10
Rep Power: 17
ibuki is on a distinguished road
Hello. I'm running a 2D transient model, and I would like to know if there is a way to write an output of pressure time history of certain nodes.
Thank you.
ibuki is offline   Reply With Quote

Old   January 27, 2010, 16:59
Default
  #2
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 20
DoHander is on a distinguished road
Yes, it is possible. Define a surface that pass through your nodes and then write a Scheme or a UDF function that will save the data at every iteration or time step.

Do
DoHander is offline   Reply With Quote

Old   January 28, 2010, 06:35
Default UDFs
  #3
New Member
 
ibuki kusano
Join Date: Mar 2009
Location: Spain
Posts: 10
Rep Power: 17
ibuki is on a distinguished road
Thank you for the reply. I have never used UDFs, and I've been reading the manual about UDF and Scheme. I know that I have to write UDF using C code, but I don't have much idea of what exactly I have to do. Would you give me a little example of this case to print pressure of some nodes along a surface every X time steps? Thank you very much.
ibuki is offline   Reply With Quote

Old   January 28, 2010, 17:14
Default
  #4
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 20
DoHander is on a distinguished road
This will save the pressure coefficient from a zone named "zone_name" at each time step in files named data-0000.txt data-0001.txt ....

(cx-macro-define
'((save-data . "file/write-profile\ndata-%t.txt\nzone_name\n\npressure-coefficient\nq\n")
))
DoHander is offline   Reply With Quote

Reply


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
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 08:59
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 11:52


All times are GMT -4. The time now is 03:33.