|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Bastián Viscarra
Join Date: Sep 2011
Posts: 1
Rep Power: 0 ![]() |
Hi everyone!
My problem: I want to change in the solver pisoFoam, the original equation, for this one: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U1) + turbulence->divDevReff(U) ); where U1=2.0*U; and there is my problem, how I define U1? U1 is a UList type, but when I declared it, the numbers are not corresponse. I'll try to change the file createFields.H like this: volVectorField U1 ( IOobject ( "U1", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); U1=2.0*U; and I add the file U1 in the 0 directory! (U1 copy of U) but, in the screen, qhen I run it, says U1 is a internald field uniform. but U is a internald field nonuniform!!! any suggest¿¿ pliss!! Sorry for my bad english, I hope you understand! Bastián! |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing a vector in a volVectorField by cell label | andrewryan | OpenFOAM | 3 | January 15, 2012 05:48 |
| simpleSRFfoam : request for volVectorField U | jmf | OpenFOAM Running, Solving & CFD | 2 | October 29, 2010 20:11 |
| Change wallDist to return volVectorField | segersson | OpenFOAM Pre-Processing | 1 | October 8, 2009 06:14 |
| Initialize a uniform 0 volVectorField | Schag | OpenFOAM | 3 | August 26, 2009 10:08 |
| volVectorField to pointField | nikwin | OpenFOAM | 2 | June 26, 2009 07:54 |