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

UDF post processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2011, 04:31
Default UDF post processing
  #1
New Member
 
ekkapong
Join Date: Oct 2010
Posts: 18
Rep Power: 15
nuengao is on a distinguished road
Dear all

I need your help about how to post the result as function of time.
If the codes are the following



DEFINE_PROFILE(velocity_magnitude, t, i)
{
real velocity;
real the_current_time;
face_t f;
the_current_time = CURRENT_TIME;
if ((the_current_time>=0) && (the_current_time<10))
{
velocity=100;
}
if ((the_current_time>=10) && (the_current_time<15))
{
velocity=20;
}
if ((the_current_time>=15))
{
velocity=10;
}

begin_f_loop(f,t)
{
F_PROFILE(f,t,i) = velocity;
}
end_f_loop(f,t)
}


If I'd like to post the result at the some time such as t=20s how can I do this pleas help me

sincerely your
nuengao
nuengao is offline   Reply With Quote

Old   January 1, 2011, 13:29
Default
  #2
Senior Member
 
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16
ComputerGuy is on a distinguished road
Nuengao,

What do you mean by "post the result?"
Do you mean output the value of velocity at a time of exactly 20s to the screen?

ComputerGuy
ComputerGuy is offline   Reply With Quote

Old   January 2, 2011, 01:01
Default
  #3
New Member
 
ekkapong
Join Date: Oct 2010
Posts: 18
Rep Power: 15
nuengao is on a distinguished road
Dear computerGuy
I mean how can I use CFD post at the time that I want?

such as temperature , velocity after 10 s
nuengao is offline   Reply With Quote

Old   January 21, 2012, 16:17
Default
  #4
Member
 
Vitaly
Join Date: Jan 2012
Posts: 32
Rep Power: 14
Vitaly is on a distinguished road
You can set when to write the .dat files (kind of restricting, but I think you can also include a write .dat file in a UDF if you are using linux) . You can also assign variable monitors, if there are just some specific variables values you want to track as a function of time (or times step).

Look into: Solution -> monitors...and just play around with the different monitors you can assign.
Vitaly 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
Post Processing Fluent Data Jonathan Vogt FLUENT 2 August 18, 2017 02:58
CFD post processing techniques & streamlining klk Main CFD Forum 0 October 19, 2010 07:37
post processing in CFX11.0 u k jha CFX 1 September 17, 2010 05:53
fluent for post processing James FLUENT 0 April 21, 2006 04:43
post processing in CFD MANISH BHARGAVA Main CFD Forum 0 October 17, 1998 20:51


All times are GMT -4. The time now is 23:30.