|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Apr 2010
Posts: 33
Rep Power: 17 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 16 ![]() |
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.
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Apr 2010
Posts: 33
Rep Power: 17 ![]() |
Thanks Saeed
|
|
|
|
|
|
|
|
|
#4 |
|
Member
samrat himvanth nanduri
Join Date: May 2012
Posts: 30
Rep Power: 15 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |