Robin B.C=Mixed B.C ?
Fro the Robin B.C:
dC/dy = a * C
where a is constant, C is scalar concentration and y is direction normal to the wall, How can I use the Mixed B.C? What will be the following terms?
refValue, refGradient, valueFraction and value?
Thanks in advance!
some already posted the same question as I have here, but I could not find any answer that helped me.
I need to implement a Robin boundary condition of the form
with "a" being a constant, "x" the axis and "c" my volScalarField which is calculated by just one PDE (c(t,x,y,z)).
Can anyone give me a hint? I am not too familiar with programming in C++, so I have difficulties to understand the code of the OpenFOAM boundary conditions....:confused:
Maybe the answer is obvious for some of you, but unfortunately not for me, so I would really appreciate a help ...
All types of boundary conditions for a volScalarField are:
In the thread "movingCone with time-dependent displacement" are also all the types por pointScalarField and volVectorField.
Maybe one of these types could help you!
I think the solution to your problem is in this post:
which I basically stole from this post:
So, unfortunately there seems to be no way to get around groovyBC when I am looking for a very general BC?!
I had a closer look at the other BCs but did not succeed in actually understand them, they seem very specific to me.
I downloaded groovyBC and followed the instructions on http://openfoamwiki.net/index.php/Contrib_groovyBC
but when I run the demo cases and use paraview for the visualisation, I always get a problem by seeing the velocity U, paraview shuts down directly. I tried the two versions of the libs hint, given on the website, but this did not change the problem. Does anyone have an idea what could be wrong?
(I use OpenFOAM-1.6.x).
Thank you very much..
I'm not sure about your paraview problems, maybe try posting/searching this thread: http://www.cfd-online.com/Forums/ope...burb-mesh.html
It seems as if groovyBC is just an interface for the mixed boundary condition which shows up in the list posted by McCarra above. So if you're good at C++ and don't want to use groovyBC, then you can try compiling your own boundary condition based on mixed.
|All times are GMT -4. The time now is 10:37.|