|
[Sponsors] |
[swak4Foam] How to map fields using patches of type mappedPatch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2019, 15:13 |
How to map fields using patches of type mappedPatch
|
#1 |
Member
Join Date: Mar 2019
Posts: 86
Rep Power: 7 |
Good day swak4Foam members
I have an air solid interface. So, I call the temperature field, Ta, on the air side and Ts on the solid side. For the sake of argument, let's say that for a certain boundary field patch inside dictionary 0/Ta, I write Ta = mappedInternal(Ts); When I run my program, I get the error field Ts is not existing or of wrong type (but I created Ts in createFields.H. I ts is of the same type as Ta and my main code does not complain about it) Now, if instead I write Ta = mappedInternal(Ta); the error goes away. Does that mean swakFoam knows that it has to look at Ts on the solid side simply because out of a multitude of different fields one can create on any given mesh, Ts will be the only one with the same dimensional units as Ta ? That better be the answer, otherwise, I really don't know how Ta = mappedInternal(Ta); can make any sense. Have a nice weekend, Marc |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
[Other] simulation of closing the gate using moving mesh | simin_ds | OpenFOAM Meshing & Mesh Conversion | 8 | April 12, 2019 05:49 |
Strange high velocity in centrifugal pump simulation | huangxianbei | OpenFOAM Running, Solving & CFD | 26 | August 15, 2014 02:27 |
SimpleFoam - instable simulation | Specialist | OpenFOAM Running, Solving & CFD | 17 | August 12, 2014 04:52 |
singularity? | mihaipruna | OpenFOAM Running, Solving & CFD | 5 | April 24, 2012 17:18 |