CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

timeVaryingMappedFixedGradient ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2021, 04:52
Default timeVaryingMappedFixedGradient ?
  #1
New Member
 
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7
Rotidpor is on a distinguished road
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...
Rotidpor is offline   Reply With Quote

Old   December 21, 2021, 04:28
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,686
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Rotidpor View Post
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...

What about this?:
https://www.openfoam.com/documentati...d.html#details
olesen is offline   Reply With Quote

Old   December 22, 2021, 06:33
Default
  #3
New Member
 
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7
Rotidpor is on a distinguished road
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.
Rotidpor is offline   Reply With Quote

Old   February 22, 2022, 01:55
Default
  #4
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15
agustinvo is on a distinguished road
Hi,



did you manage to imolement such a BC? I want to test something similar in OF7
agustinvo is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:45.