CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Log-Law Wind Profile

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2016, 04:39
Default Log-Law Wind Profile
New Member
Jirawat S.
Join Date: Oct 2016
Posts: 2
Rep Power: 0
darchz is on a distinguished road
I'm new in FLUENT, now working on my architecture project to simulation wind through
high-rise building. I need to use log-law wind profile in 3D domain as attached picture.

I read from post and working on UDF as many suggestion. I curious why it doesn't work
for my case. All I've got is error massage "floating point exception".

Here is my udf file:

#include "udf.h"

real x[ND_ND];
real y;
face_t f;
y = x[1];
F_PROFILE(f,thread,position) = 10*log(y/0.6)/log(10/0.6);

Or if you have other way to create this condition please let me know.

I Would greatly appreciate any help,
Best Regards
Attached Images
File Type: jpg 5.jpg (111.5 KB, 23 views)

Last edited by darchz; December 29, 2016 at 10:36.
darchz is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have 3D blade profile of wind turbine? kenya0514 Main CFD Forum 5 March 9, 2015 14:06
simulating wind shear profile for a wind turbine--> How??? mohammad CFX 14 August 25, 2014 09:09
Simulate the wind profile on a wind turbine---> HOW ???? mohammad Main CFD Forum 0 April 13, 2012 08:16
Simulate the wind profile on a wind turbine---> HOW ???? mohammad Main CFD Forum 0 April 13, 2012 08:07
Log Law Wind Profile for Urban analysis in Star-CCM+ 4 plainstyle Siemens 1 June 18, 2010 10:46

All times are GMT -4. The time now is 20:51.