|
[Sponsors] |
December 11, 2012, 10:23 |
define profile with multiple threads
|
#1 |
Member
Join Date: Apr 2010
Posts: 33
Rep Power: 16 |
Hi all,
I have a domain with a couple of cell threads. I would like to firstly work out the average temperature in one of the threads by looping over the cells. Then I would like to use that temperature to set the temperature at an inlet face in my domain. I tried to do both steps in one define_profile. Define_profile is passed a thread from the solver. If I use the profile on my inlet face then the solver passes the inlet face thread. I tried to bring in the cell thread using Lookup_Thread but I'm having problems. Is it possible to do both steps in the one define_profile macro? |
|
December 16, 2012, 01:23 |
|
#2 |
Senior Member
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15 |
You should define two threads into that DEFINE_PROFILE, store the thread information into a variable, then call it into the equation of the Profile thread. I have done that before.
|
|
December 17, 2012, 04:43 |
|
#3 |
Member
Join Date: Apr 2010
Posts: 33
Rep Power: 16 |
Thanks Saeed
|
|
March 1, 2013, 00:56 |
2D airfoil O Grid- negative volume
|
#4 |
Member
samrat himvanth nanduri
Join Date: May 2012
Posts: 30
Rep Power: 14 |
Hi,
I'm carrying out a 2D pitching airfoil simulation using dynamic meshing with a "O" Grid. The dynamic conditions i have given were 1) airfoil - rigid body with UDF with pitching over X=0.25 2)interior - deforming with the min and max length scale from zone scale info 3) fluid -deforming with the min and max length scale from zone scale info. The spring constant i gave was 0.001 and convergence tolerance 0.0001 No of iterations 150. The time step tat i used is 0.001. After running the iterations and after about 500 time steps i'm getting the following error negative volume detected dynamic mesh update failed. i have worked around with the spring constant and also with the time step nothing worked. could someone help me out rectify this issue.. thanks in advance, sam |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF: trying to implement a Kinetic Equation source term | er.mkumar | Fluent UDF and Scheme Programming | 35 | March 22, 2019 11:20 |
Define Certain Cell Threads in Udfs | payam_IUST | Fluent UDF and Scheme Programming | 1 | October 2, 2009 16:27 |
ACCESS VIOLATION | MHDWill | FLUENT | 1 | September 23, 2007 03:51 |
Define an equation for the inlet velocity profile | Alshroof | CFX | 3 | January 9, 2007 20:34 |
multiple threads | Teresa | FLUENT | 2 | June 23, 2005 12:46 |