CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

New volVectorField U1

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

LinkBack Thread Tools Display Modes
Old   April 10, 2012, 10:37
Default New volVectorField U1
New Member
Bastián Viscarra
Join Date: Sep 2011
Posts: 1
Rep Power: 0
arkanus01 is on a distinguished road
Hi everyone!

My problem:

I want to change in the solver pisoFoam, the original
equation, for this one:

fvVectorMatrix UEqn
+ 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

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!

arkanus01 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
Accessing a vector in a volVectorField by cell label andrewryan OpenFOAM Programming & Development 6 April 21, 2016 06:51
simpleSRFfoam : request for volVectorField U jmf OpenFOAM Running, Solving & CFD 3 July 28, 2015 15:16
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

All times are GMT -4. The time now is 22:48.