CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Assigning values to vectors defined in openFoam.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2015, 02:49
Default Assigning values to vectors defined in openFoam.
  #1
Member
 
Divyaprakash
Join Date: Jun 2014
Posts: 69
Rep Power: 11
Divyaprakash is on a distinguished road
How do I assign values to a vector in defined in openFoam.
e.g, a = [1 0 0];
Can someone please give some examples?
Thanks
Divyaprakash is offline   Reply With Quote

Old   June 22, 2015, 09:54
Default
  #2
New Member
 
nemo
Join Date: Jan 2015
Posts: 26
Rep Power: 11
huyidao is on a distinguished road
Hello, i think you can find some example in the folder applications/test/vector.
I wish it can help you.
huyidao is offline   Reply With Quote

Reply

Tags
vectors


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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
forceCoeffs (OpenFOAM 2.2.0) gave another values of Cd in comparison results2.2.1 ! lavrov OpenFOAM Post-Processing 0 March 15, 2013 09:12
Maximum parameter values in OpenFOAM vetnav OpenFOAM 1 February 28, 2011 13:28
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18


All times are GMT -4. The time now is 11:28.