CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

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

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 29, 2008, 13:41
Default J.T., I will look through it a
Senior Member
K─ürlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 10
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


Thread Tools
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 On
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 14:36
UDF- access flow variable - density-based solver BenMar FLUENT 0 January 4, 2008 11:05
MultiDirRefinement class Bug on mapping fields zurdo OpenFOAM Bugs 12 December 17, 2007 05: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 08:17.