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??????
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.
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????
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:
(stored of gcx is (c1-c1[-1])/dxg)
(stored of gcy is (c1-c1[,-1])/dyg)
(stored of gcz is (c1-c1[,,-1])/dzg)
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.
|All times are GMT -4. The time now is 22:11.|