CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User 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 Search this Thread Display Modes
Old   August 11, 2008, 05:21
Default Hi If i have vx, vy and vz
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
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, 02:27
Default I believe this is solved He
  #2
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Taking the absolute value of a volVectorField or a volTensorField kupiainen OpenFOAM 3 July 25, 2019 14:00
How to update volVectorField velocity swlee OpenFOAM Running, Solving & CFD 0 June 18, 2008 05: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 17:12
To get the magnitude of volVectorField susana OpenFOAM Pre-Processing 5 November 16, 2006 07:53


All times are GMT -4. The time now is 02:10.