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

how to change boundaryType in volScalarField

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By alexeym

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 16, 2017, 15:18
Default how to change boundaryType in volScalarField
  #1
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Hi All,
In constructor of GeometricField class we have
Code:
GeometricField            (           const IOobject &            io,                              
          
          const Mesh &            mesh,                              
          
          const dimensioned< Type > &            dt,                              
          
          const word &            patchFieldType = PatchField<Type>::calculatedType()                              
          )
where default boundaryType is calculatedType.

How can I define GeometricField with zeroGradient patchFieldType??
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

 


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
[openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 562 January 25, 2023 09:21
Can a solver change the type of a boundary/patch ? fredo490 OpenFOAM Programming & Development 6 June 24, 2021 11:14
if-loop, volScalarField comparison volker OpenFOAM 7 March 6, 2020 20:03
Radiation interface hinca CFX 15 January 26, 2014 17:11
dimensionedScalar + volScalarField is evaluated elementwisely ? tianyikillua OpenFOAM Programming & Development 1 March 30, 2012 03:12


All times are GMT -4. The time now is 13:02.