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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: mprinkey
Forum: Main CFD Forum May 1, 2015, 13:38
Replies: 3
Views: 716
Posted By mprinkey
Um, no. y is a real. You can do normal C math...

Um, no. y is a real. You can do normal C math on a real. y[] is going to just be nonsense.

I don't know what you are trying to code.

x[] is an array. It has three components. ...
Forum: Main CFD Forum May 1, 2015, 11:45
Replies: 3
Views: 716
Posted By mprinkey
x is the position vector...x[0..2] Line 22...

x is the position vector...x[0..2]

Line 22 tries to use x directly without providing an array index. You probably want line 22 to read:

h=300.0 + 1000.0*y;

since you've already pulled the...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 17:33.