|
[Sponsors] |
December 20, 2021, 04:52 |
timeVaryingMappedFixedGradient ?
|
#1 |
New Member
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7 |
Hello foamers,
I have already used the BC : timeVaryingMappedFixedValue which is very practical for coupling models/scales. It allows a conservative coupling in both time and space. But why is there not a timeVaryingMappedFixedGradient BC ? Is it more complicated than it looks, am I missing something trivial ? A fixed gradient condition, mapped from another case, varying in time and space would be very practical... |
|
December 21, 2021, 04:28 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,686
Rep Power: 40 |
Quote:
What about this?: https://www.openfoam.com/documentati...d.html#details |
||
December 22, 2021, 06:33 |
|
#3 |
New Member
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7 |
Well, thank you for your input but...
I don't really get what is happening in this mappedMixedField BC. A bit more on the modeling I want to carry on : I would like to combine heat and water evaporation/condensation fluxes at a given wall boundary (calculated for a given outdoors temperature/RH in several stationary calculations) into a single face normal magnitude gradient field (which is easily done in a terminal using awk sed and other things). Then I want to map this custom surface field to another model/mesh as a fixed gradient. And of course, this field has to be interpolated at each timestep exactly like timeVaryingMappedFixedValue does for Dirichlet BCs... For the moment, the only thing I can do is using uniformFixedGradient to interpolate between timesteps but I'm forced to use a uniform 'mean' field which is not nice as I'll lose all topological information and 3D effects. |
|
February 22, 2022, 01:55 |
|
#4 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
Hi,
did you manage to imolement such a BC? I want to test something similar in OF7 |
|
|
|