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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: pakk
Forum: Fluent UDF and Scheme Programming March 9, 2017, 09:40
Replies: 8
Views: 3,057
Posted By pakk
The x-component and y-component seem ok. The...

The x-component and y-component seem ok.

The "velocity_magnitude" is wrong. First of all: you don't need it.
But even if you would need it:
* you calculate vmag and theta after you use them....
Forum: Fluent UDF and Scheme Programming March 9, 2017, 04:46
Replies: 8
Views: 3,057
Posted By pakk
You still have to give x and y components to...

You still have to give x and y components to Fluent. So if you want to use an angle, you have to calculate components by yourself.

But you can use the sine and cosine functions. So, if you have...
Forum: Fluent UDF and Scheme Programming March 9, 2017, 04:04
Replies: 8
Views: 3,057
Posted By pakk
It looks almost like a valid program that does...

It looks almost like a valid program that does something similar to what you asked.

I see only one problem in this line:
F_PROFILE(f,t,i) = velocity=sqrt(pow(x,2)+pow(y,2));

You are obviously...
Forum: Fluent UDF and Scheme Programming March 9, 2017, 03:21
Replies: 8
Views: 3,057
Posted By pakk
If you have no knowledge on UDFs at all, then...

If you have no knowledge on UDFs at all, then start by looking in the Fluent help. See if you can find a UDF that does something similar to what you want, and think about what should be changed. Try...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 01:14.