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

automap and rmap in OpenFOAM boundaries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2021, 08:52
Default automap and rmap in OpenFOAM boundaries
  #1
Member
 
Join Date: Mar 2021
Posts: 39
Rep Power: 5
trailer is on a distinguished road
Hello to all,


I have tried to get information on the automap and rmap function in OF to no avail.


I see that boundaries that create fields use them (e.g., prghPressure, totalPressure, totalTemperature) while others do not e.g., swirlFanVelocity/fixedMean/flowRateInletVelocity (although fields are created in the calculation)


I would like to know, what they are used for and when do I need to define them. Do they impact the calculations?




rmap appears to be used when reconstructing the fields, automap I do not know.


PS: Sorry for putting the post here. It should be in the programming session

Last edited by trailer; December 24, 2021 at 11:12.
trailer is offline   Reply With Quote

Old   December 25, 2021, 14:23
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
They are needed for decomposePar, reconstructPar, topological changes and load balancing: in fact every time the mesh dynamically changes during the run.

One of mine,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   December 25, 2021, 16:49
Default
  #3
Member
 
Join Date: Mar 2021
Posts: 39
Rep Power: 5
trailer is on a distinguished road
Hello prof. Jasak,

Thank you for the reply.

If you would be so kind, a follow up question.

If one is writing a Dirichlet boundary condition for a static case without collecting field (scalar, vector and tensor) information from the variable files, the default (in fvPatchField) automap and rmap can be used, which is why there is no redefinition of automap and rmap in e.g., parabolicVelocity.

Is this correct?



Can you give me a tutorial example where the automap function is being used?
trailer is offline   Reply With Quote

Old   March 27, 2023, 02:13
Default
  #4
New Member
 
Xiangjie Wang
Join Date: Jul 2019
Posts: 26
Rep Power: 7
XJ_Wang is on a distinguished road
Quote:
Originally Posted by trailer View Post
Hello prof. Jasak,

Thank you for the reply.

If you would be so kind, a follow up question.

If one is writing a Dirichlet boundary condition for a static case without collecting field (scalar, vector and tensor) information from the variable files, the default (in fvPatchField) automap and rmap can be used, which is why there is no redefinition of automap and rmap in e.g., parabolicVelocity.

Is this correct?



Can you give me a tutorial example where the automap function is being used?
Hi Trailer

Have you found some references for this?

Best
Xiangjie
XJ_Wang is offline   Reply With Quote

Old   March 28, 2023, 05:08
Default
  #5
Member
 
Join Date: Mar 2021
Posts: 39
Rep Power: 5
trailer is on a distinguished road
Quote:
Originally Posted by XJ_Wang View Post
Hi Trailer

Have you found some references for this?

Best
Xiangjie

Hi Xiangjie,

Unfortunatly, no.

If you came across it, please let me know!
trailer is offline   Reply With Quote

Old   March 29, 2023, 12:18
Default
  #6
New Member
 
Xiangjie Wang
Join Date: Jul 2019
Posts: 26
Rep Power: 7
XJ_Wang is on a distinguished road
Hi Trailer,

Here is my personal understanding:

autoMap and rmap are used for parallel computing but they are not always needed. As you have mentioned, the parabolic velocity library(which is very popular in the tutorials) does not use these two functions, that is because there is no parameters needed to be decomposed. For example, when using DFSEM from OpenFOAM.com, the R, L values need to be decomposed because they are tensorField or scalarField type data. If there is no this kind of data/parameters, you don't need to use these two functions.
XJ_Wang 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time-varying boundary condition yurifrey OpenFOAM Programming & Development 35 February 17, 2021 08:35
timeVaryingMappedFixedValueFvPatchField for Traction control at boundaries Hisham OpenFOAM Programming & Development 16 September 19, 2011 15:36
Question about rmap and automap and boundary condition nlc OpenFOAM 0 November 1, 2010 14:51


All times are GMT -4. The time now is 08:10.