CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Combining 3 volScalarFields to form a volVectorField

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

Like Tree3Likes
  • 3 Post By srinath

Reply
 
LinkBack Thread Tools Display Modes
Old   August 11, 2008, 04:21
Default Hi If i have vx, vy and vz
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Hi

If i have vx, vy and vz as volScalarFields, and want to set the components of a volVectorField U =(vx,vy,vz), what should i do?


Thanks
srinath
srinath is offline   Reply With Quote

Old   August 13, 2008, 01:27
Default I believe this is solved He
  #2
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
I believe this is solved

Here is what i did

U.replace(0,vx);
U.replace(1,vy); etc

Srinath
lhcamilo, Cherif and codder like this.
srinath is offline   Reply With Quote

Reply

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
How to update volVectorField velocity swlee OpenFOAM Running, Solving & CFD 0 June 18, 2008 04:57
VolVectorField of complex numbers quba OpenFOAM 0 December 17, 2007 09:06
Possibility of combining DPM and VOF Kelly FLUENT 0 September 24, 2007 16:12
To get the magnitude of volVectorField susana OpenFOAM Pre-Processing 5 November 16, 2006 07:53
Taking the absolute value of a volVectorField or a volTensorField kupiainen OpenFOAM 1 September 16, 2005 07:22


All times are GMT -4. The time now is 20:12.