Use transient gradient as BC- timeVaryingUniformFixedGradient?
I have yet another question and hope that you can help me.
To simulate a heat flux into a wall (heat transfer in solid, laplacianFoam) I
need to apply a transient gradient to a patch (simulating sun shine).
The values I need to apply are listed in a text file and I would like to
apply them the same way timeVaryingUniformFixedValue is working.
Is there something like that or do you have other ideas how this
could be done?
One thought that came to my mind right now:
In the time step folders there are files listing the boundary conditions and start values for each step. Is it possible to create a part of these files beforehand?
E.g. OpenFOAM finds an already existing temperature file T in the time step directory just listing a new boundaryField-section for that step. The values
for T are written in there automatically during the calculation of the first step.
No. Prefeeding the directories with BCs is not possible. But both the things you're trying to do (calculated gradient AKA heatFlux and/or timelines) can be done with groovyBC/swak4Foam
Thanks for your answer!
groovyBC looks good.
akidess has already beaten the drums in another thread :)http://www.cfd-online.com/Forums/ope...tml#post310585
|All times are GMT -4. The time now is 12:42.|