|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Stefan Furtlehner
Join Date: Mar 2009
Location: Vienna, Austria
Posts: 7
Rep Power: 17 ![]() |
Could somebody explain to me, how I can implement a fixedGradient boundary condition looking like this:
d(u(i+1))/dn = f(u(i)) with time index i. In words: I'd like to get the value of the normal derivation of u(i+1) from a function f depending on u(i), but as far as I've found out till now, fixedGradient sets the gradient to a constant value. Is it possible to replace the constant value by a function calculated during the iteration process? And if yes, could somebody give me a hint or an example how I could do this? Many thanks in advance!!! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 17 ![]() |
Hello Stefan,
It is possible the gradient to a value that is calculated during the iteration process. Have you had a look at the fixedFluxBuoyantPressure boundary condition. (/home/you/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/fields/fvPatchFields/derivedFv PatchFields/fixedFluxBuoyantPressure ) I hope this helps. Shaun |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Stefan Furtlehner
Join Date: Mar 2009
Location: Vienna, Austria
Posts: 7
Rep Power: 17 ![]() |
Hello Shaun,
thank you very much for your reply - I'll check it out ;-) best regards, Stefan |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17 ![]() |
Hi Stefan,
Search for groovyBC. That is an external package that lets you set boundary conditions based on any formula you want. I am sure it will help your case. Easy to install too.. Prapanj |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
|
Hi to evrybody!
Is there any inplementation of this time dependent fixed value for the 1.5 release? Tanx |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FixedGradient Boundary Condition | shrina | OpenFOAM Running, Solving & CFD | 4 | August 22, 2019 11:08 |
Problem with fixedGradient BC | kar | OpenFOAM Running, Solving & CFD | 5 | April 22, 2015 20:06 |
velocity update | fluent_urs | FLUENT | 6 | July 8, 2008 11:41 |
UDF update profile | ramesh | FLUENT | 0 | June 29, 2003 14:14 |
MOUSE - any update? | Pei-Ying Hsieh | Main CFD Forum | 1 | March 19, 2001 05:04 |