|
[Sponsors] |
July 15, 2011, 09:10 |
definiton of volScalarField G(x, y);
|
#1 |
New Member
Bernhard
Join Date: Jul 2011
Posts: 2
Rep Power: 0 |
Hello,
im working on a adjustment of a turbulence model. While doing that i wondered what volScalarField G(x, y); actually does in a mathematical sense. A Definiton like volScalarField S2 = magSqr(symm(fvc::grad(U_))); is clear to me, but i really can not imagine what the "," is doing. (and unfortunately i wasnt able to find any proper syntax description) Thanks in advance! |
|
July 16, 2011, 16:11 |
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 21 |
The way you've written it, it looks to me like a constructor.
Code:
volScalarField G(x, y); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
if-loop, volScalarField comparison | volker | OpenFOAM | 7 | March 6, 2020 20:03 |
Problems with creating a volScalarField | georlade | OpenFOAM Programming & Development | 4 | December 4, 2016 12:31 |
volScalarField | DiegoNaval | OpenFOAM Programming & Development | 7 | February 2, 2012 03:04 |
volScalarField for cell volumes and face surfaces | AlmostSurelyRob | OpenFOAM | 2 | December 13, 2010 05:24 |
Confused about how OF handles operation between volScalarField and dimensionedScalar | Edy | OpenFOAM | 3 | September 30, 2010 10:07 |