Hello,
Currently I have two single dimension array. I am interested to know if I can modify program by combining them giving same result.
E.g. A(X), B(Y) used for M=P*A(1)+Q*B(2)
Proposed- A(X,Y) used for M=P*A(1,Y)+Q*B(X,2)
where A(1,Y)=A(1), B(X,2)=B(2)
Is it possible to do like this? if...
Hello,
I am calculating Unit vector for non orthogonal Cartesian grid. To calculate Unit Vector I need to project eg. y and x distance of east face of cell on i and j axis resp. I am using following formula-
Unit vector= Ue
Surface area= Se=sqrt(dx2+dy2)
Ue=(dy/se)i-(dx/se)j
Can anybody please...
Hello,
I am trying to calculate unit vector for velocity (vel= (U*Unit vector)/unit vector). But if I consider calculation by angle change e.g. unit vector= cos(theta) at certain angle velocity becomes infinity.
Please inform me if I can calculate unit vector with other method.
Thanks in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.