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

[swak4Foam] How to map fields using patches of type mappedPatch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By celestial

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2019, 15:13
Default How to map fields using patches of type mappedPatch
  #1
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
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
the_ichthyologist likes this.
celestial 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
[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


All times are GMT -4. The time now is 06:58.