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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2019, 16:13
Default How to map fields using patches of type mappedPatch
  #1
New Member
 
Join Date: Mar 2019
Posts: 23
Rep Power: 2
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
celestial is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] simulation of closing the gate using moving mesh simin_ds OpenFOAM Meshing & Mesh Conversion 8 April 12, 2019 06:49
Strange high velocity in centrifugal pump simulation huangxianbei OpenFOAM Running, Solving & CFD 26 August 15, 2014 03:27
SimpleFoam - instable simulation Specialist OpenFOAM Running, Solving & CFD 17 August 12, 2014 05:52
compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 2 August 30, 2013 08:42
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 18:18


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