|
[Sponsors] | |||||
How to access custom Scalar Field in viscosity model |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 18 ![]() |
Ok, I added the following line:
const volScalarField& XXX = U_.mesh().lookupObject<volscalarfield>("XXX"); to tmp<volscalarfield> MyViscModel::calcNu() const { ... } That does the trick. regards Christian |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF vs Custom field function | andrew | FLUENT | 5 | June 24, 2011 11:53 |
| Custom Field function...>>>Please HELP..! | sushii | FLUENT | 2 | October 11, 2007 02:04 |
| Custom Field Functions | bov | FLUENT | 5 | November 21, 2005 09:31 |
| Custom field functions | sivakumar | FLUENT | 1 | October 12, 2001 07:36 |
| Custom Field Functions | ak | FLUENT | 2 | October 8, 2001 11:23 |