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

How to access solver fields from fvPatchField%2360Type derived class that defines BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2008, 12:41
Default J.T., I will look through it a
  #1
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17
kar is on a distinguished road
J.T., I will look through it again later.
In case when BC class implementation is in separate *.C file, I can't access field T! Does your thread answers the question?

Also it turned out, there is some T defined already in class temperatureOpeningFvPatchScalarField
:public fixedGradientFvPatchScalarField
. How can it be? In fixedGradientFvPatchScalarField? Deeper?
I think so because when I define new field GG in createFields.H, it is undefined in temperatureOpeningFvPatchScalarField file. But T is!!
kar 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
Writing solver for U p and T fields kar OpenFOAM Running, Solving & CFD 0 January 21, 2008 13:36
UDF- access flow variable - density-based solver BenMar FLUENT 0 January 4, 2008 10:05
MultiDirRefinement class Bug on mapping fields zurdo OpenFOAM Bugs 12 December 17, 2007 04:54
Dimensioned%2360Type new class delaration diegon OpenFOAM Running, Solving & CFD 3 October 12, 2007 13:51
Linking new class to solver hartinger OpenFOAM Running, Solving & CFD 3 April 25, 2005 06:36


All times are GMT -4. The time now is 15:47.