|
[Sponsors] |
June 3, 2013, 23:36 |
volVectorField
|
#1 |
New Member
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13 |
Hello all,
I am trying to define a vector in openFoam with the following equation: A = -fvc::div(phi, U)+fvc::laplacian(nu, U) do you think I can use the following command to define my vector i.e. A. volVectorField A("A", U); A = -fvc::div(phi, U)+fvc::laplacian(nu, U); I can not understand the meaning of A("A", U) in volVectorField A("A", U); can anybody help me? Thanks |
|
June 4, 2013, 05:29 |
|
#2 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
Hi,
Code:
volVectorField A("A", U); Code:
volVectorField A("A", -fvc::div(phi, U)+fvc::laplacian(nu, U)); Cyp |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Problem] paraFoam Throws volVectorField Error At t=0 for 0/U | iamed18 | OpenFOAM Pre-Processing | 3 | April 11, 2016 10:03 |
subtract volvectorfield and dimensionedvector | ggoggodak85 | OpenFOAM Programming & Development | 1 | January 28, 2014 14:54 |
Pstream reduce sum volVectorField | ganeshv | OpenFOAM Running, Solving & CFD | 0 | December 11, 2012 14:35 |
dot product of volvectorfield | latvietis | OpenFOAM | 1 | November 20, 2012 02:16 |
Initialize a uniform 0 volVectorField | Schag | OpenFOAM | 3 | August 26, 2009 10:08 |