|
[Sponsors] | |||||
Combining 3 volScalarFields to form a volVectorField |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 18 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 18 ![]() |
I believe this is solved
Here is what i did U.replace(0,vx); U.replace(1,vy); etc Srinath |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |