|
[Sponsors] |
December 29, 2016, 05:39 |
Log-Law Wind Profile
|
#1 |
New Member
Jirawat S.
Join Date: Oct 2016
Posts: 2
Rep Power: 0 |
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" DEFINE_PROFILE(log_law_velocity,thread,position) { real x[ND_ND]; real y; face_t f; begin_f_loop(f,thread) { F_CENTROID(x,f,thread); y = x[1]; F_PROFILE(f,thread,position) = 10*log(y/0.6)/log(10/0.6); } end_f_loop(f,thread) } Or if you have other way to create this condition please let me know. I Would greatly appreciate any help, Best Regards Jirawat. Last edited by darchz; December 29, 2016 at 11:36. |
|
|
|
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 15:06 |
simulating wind shear profile for a wind turbine--> How??? | mohammad | CFX | 14 | August 25, 2014 10:09 |
Simulate the wind profile on a wind turbine---> HOW ???? | mohammad | Main CFD Forum | 0 | April 13, 2012 09:16 |
Simulate the wind profile on a wind turbine---> HOW ???? | mohammad | Main CFD Forum | 0 | April 13, 2012 09:07 |
Log Law Wind Profile for Urban analysis in Star-CCM+ 4 | plainstyle | Siemens | 1 | June 18, 2010 11:46 |