|
[Sponsors] |
Update boundary condition only after several iteration |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2009, 11:35 |
Update boundary condition only after several iteration
|
#1 |
New Member
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17 |
Hi
I have to implement a boundary condition of type fixedGradient. The gradient depends from the field value. To implement the boundary condition I have modified the updateCoeff() funcion. Unfortunately in this way the gradient changes in every iteration (becouse in every iteration the updateCoeff() function is called) and the solution became instable. Is there some way to update the boundary condition value only after several iterations and not every iteration? Thanks...
__________________
...The best way to acquire new knowledge is to share it... |
|
July 16, 2009, 12:04 |
|
#2 |
Member
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17 |
Hi,
I never tried it but the first solution that comes to my mind is to use a counter. For example, if you want to change every 10 iterations, just make count=count+1 for each one, and when count=10 do (updateCoeffs() & count=0) Sorry if it seems stupid and I'm far away from the point, I'm a beginner trying to contribute as I can. Regards Julien |
|
July 16, 2009, 18:56 |
|
#3 |
New Member
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17 |
Thanks... I have tried this solution yet, but the problem is that updateCoeff() is called every iteration and I don't know how I can block it!
Thanks for you reply...
__________________
...The best way to acquire new knowledge is to share it... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
spanwiperiodic boundary condition for LES | Sungho Yoon | CFX | 5 | July 8, 2008 07:21 |
How to set boundary condition in Fluent for the fo | Peiyong | FLUENT | 1 | November 10, 2006 12:44 |
Help Urgent about changing boundary condition | Anjum Naveed | FLUENT | 7 | August 14, 2006 13:25 |
1 and 2 Order Boundary condition at the same place | CFD_Flo | Main CFD Forum | 4 | July 11, 2005 12:57 |