|
[Sponsors] |
Use transient gradient as BC- timeVaryingUniformFixedGradient? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 7, 2011, 03:08 |
Use transient gradient as BC- timeVaryingUniformFixedGradient?
|
#1 |
New Member
Join Date: Jun 2011
Posts: 12
Rep Power: 14 |
Hello!
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. Code:
SecondFace { type timeVaryingUniformFixedValue; fileName "SecondFace.dat"; } Is there something like that or do you have other ideas how this could be done? Kind regards, Walter |
|
June 7, 2011, 03:23 |
|
#2 |
New Member
Join Date: Jun 2011
Posts: 12
Rep Power: 14 |
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. |
|
June 7, 2011, 11:20 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
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 |
||
June 7, 2011, 14:24 |
|
#4 |
New Member
Join Date: Jun 2011
Posts: 12
Rep Power: 14 |
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 Kind regards, Walter |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
specified shear at wall - temperature gradient - UDF - access violation error | senD | Fluent UDF and Scheme Programming | 9 | September 18, 2014 07:29 |
Best practice for transient simulations? | siw | CFX | 5 | October 30, 2010 05:45 |
transient simulation of a rotating rectangle | icesniffer | CFX | 1 | August 8, 2009 07:25 |
Transient vs Steady State | Adam | CFX | 1 | April 12, 2007 11:34 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 04:52 |