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

patch type with cyclic capability and value field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2017, 12:32
Default patch type with cyclic capability and value field
  #1
Member
 
Join Date: Jun 2011
Posts: 42
Rep Power: 14
mikeP is on a distinguished road
When a new volScalarField created using:

Code:
volScalarField test         
(             
   IOobject             
   (                 
      "test",                 
      mesh.time().timeName(),                 
      mesh,                 
      IOobject::NO_READ,                 
      IOobject::NO_WRITE             
   ),             
   mesh,             
   dimensionedScalar("test", dimless, 0)         
);
boundaries with cyclic patchType have no value field. However, I see value fields on some other coupled patchTypes such as processor. My question is: which part of the code causes this difference? Can I somehow create a new patchType which is cyclic and which also has a value field?
mikeP 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 11:38.