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

vector problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2009, 06:27
Unhappy vector problem
  #1
New Member
 
amit kumar barik
Join Date: May 2009
Posts: 12
Rep Power: 7
fastnfuriousamit is on a distinguished road
HELLO friends.......

Are there any predefined vector variables in phoenics or is there any way to define a vector variable???
I solved a current distribution problem using C1 as my variable, and it showed proper values, but i need the current flow direction also???
Is there any possible way to do so????
Or is velocity the only thing that can be plotted as vectors??????
fastnfuriousamit is offline   Reply With Quote

Old   July 3, 2009, 05:24
Default Vectors
  #2
New Member
 
Arnie
Join Date: Jul 2009
Posts: 6
Rep Power: 7
antarctic is on a distinguished road
Hi
I think PHOENICS as a default shows velocity vectors only. They may be coloured according to the variable in question. You could try using tecplot or some other plotter to plot PHOENICS generated vectors.
antarctic is offline   Reply With Quote

Old   July 3, 2009, 05:51
Default
  #3
New Member
 
amit kumar barik
Join Date: May 2009
Posts: 12
Rep Power: 7
fastnfuriousamit is on a distinguished road
thanx arnie,
but could you please elaborate the sentence "They may be coloured according to the variable in question."..
Suppose i want to find out the current vectors from a potential distribution, what do i do????
fastnfuriousamit is offline   Reply With Quote

Old   August 13, 2009, 12:18
Default
  #4
New Member
 
John Ludwig
Join Date: Aug 2009
Posts: 5
Rep Power: 6
John_L is on a distinguished road
The PHOENICS Viewer can use any 3 stored variables as the vector components. These are selected from the Vector Options tab (right click the vector toggle icon). The real question is how to generate the vector components from the scalar. This can be done using InForm to compute the gradients of C1, rather like:

save7begin
(stored of gcx is (c1-c1[-1])/dxg)
(stored of gcy is (c1-c1[,-1])/dyg)
(stored of gcz is (c1-c1[,,-1])/dzg)
save7end

After the Earth run, select gcx, gcy and gcz as the vector components. There will also be a new contour variable called 'Vector magnitude' which is the absolute magnitude of the new vector.
John_L 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



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