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

Openfoam - Run Wind Simulations in Different Direction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2016, 06:30
Default Openfoam - Run Wind Simulations in Different Direction
  #1
New Member
 
KYA123
Join Date: Apr 2016
Posts: 4
Rep Power: 10
YK123 is on a distinguished road
Hi,

Recently, I have tried running the simulation in North direction and it succeeds. But when I tried to run the same simulation in S, NE and SE direction. But the error message keeps popping out as listed below:

Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model realizableKE
realizableKECoeffs
{
Cmu 0.09;
A0 4;
C2 1.9;
sigmak 1;
sigmaEps 1.2;
}

No finite volume options present


SIMPLE: convergence criteria
field p tolerance 1e-005
field U tolerance 1e-005
field k tolerance 1e-005
field epsilon tolerance 1e-005


Starting time loop

Time = 1

DILUPBiCG: Solving for Ux, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for Uy, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for Uz, Initial residual = nan, Final residual = nan, No Iterations 1001
DICPCG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 1001
time step continuity errors : sum local = nan, global = nan, cumulative = nan
DILUPBiCG: Solving for epsilon, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for k, Initial residual = nan, Final residual = nan, No Iterations 1001
ExecutionTime = 240.417 s ClockTime = 240 s



--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: D:/CFD-Project/Test/Trial_S/OpenFOAM/system/data.solverPerformance.U at line 0.

From function operator>>(Istream&, Scalar&)
in file lnInclude/../primitives/Scalar/Scalar.T.C at line 93.

FOAM exiting

Kindly advise on how to solve the problem.

Thanks
YK123 is offline   Reply With Quote

Old   May 9, 2016, 07:33
Default
  #2
New Member
 
Join Date: May 2016
Posts: 28
Rep Power: 10
g.freeman is on a distinguished road
Quote:
Originally Posted by YK123 View Post
Hi,

Recently, I have tried running the simulation in North direction and it succeeds. But when I tried to run the same simulation in S, NE and SE direction. But the error message keeps popping out as listed below:

Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model realizableKE
realizableKECoeffs
{
Cmu 0.09;
A0 4;
C2 1.9;
sigmak 1;
sigmaEps 1.2;
}

No finite volume options present


SIMPLE: convergence criteria
field p tolerance 1e-005
field U tolerance 1e-005
field k tolerance 1e-005
field epsilon tolerance 1e-005


Starting time loop

Time = 1

DILUPBiCG: Solving for Ux, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for Uy, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for Uz, Initial residual = nan, Final residual = nan, No Iterations 1001
DICPCG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 1001
time step continuity errors : sum local = nan, global = nan, cumulative = nan
DILUPBiCG: Solving for epsilon, Initial residual = nan, Final residual = nan, No Iterations 1001
DILUPBiCG: Solving for k, Initial residual = nan, Final residual = nan, No Iterations 1001
ExecutionTime = 240.417 s ClockTime = 240 s



--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: D:/CFD-Project/Test/Trial_S/OpenFOAM/system/data.solverPerformance.U at line 0.

From function operator>>(Istream&, Scalar&)
in file lnInclude/../primitives/Scalar/Scalar.T.C at line 93.

FOAM exiting

Kindly advise on how to solve the problem.

Thanks
Hello,
can you post your BC? From the error seems it wants a scalar value but it finds a nan
g.freeman is offline   Reply With Quote

Old   May 10, 2016, 03:42
Default
  #3
New Member
 
KYA123
Join Date: Apr 2016
Posts: 4
Rep Power: 10
YK123 is on a distinguished road
Hi,

Below is my boundary condition:

1) For Wall on all building geometries,
P = zero gradient,
U = fixedValue with (x y z) = uniform 0,
Epsilon = epsilonWallFunction, uniform 0.1
K = kqRWallFunction, uniform 0.1
Nut = nutkWallFunction, Value 0

2) For Wall on blockmesh bottom,
P = zero gradient,
U = fixedValue with (x y z) = uniform 0,
Epsilon = epsilonWallFunction, uniform 0.1
K = kqRWallFunction, uniform 0.1
Nut = nutkWallFunction, Value 0

3) For Inlet on blockmesh front,
P = zero gradient,
U = atmBoundaryLayerInlet (0m/s)
Epsilon = MixingLengthFrequency 1m
K = turbulentintensityKineticenergyInlet 5%
Nut = Calculated Value 0

4) For Outlet on blockmesh back,
P = fixedValue, uniform 0
U = zeroGradient
Epsilon = zeroGradient
K = zeroGradient
Nut = Calculated Value 0
5) For Slip on blockmesh top
All P, U, Epsilon, K and Nut = zeroGradient


Thanks and Best Regards
YK123 is offline   Reply With Quote

Old   May 16, 2016, 08:38
Default Openfoam - Run Wind Simulations in Different Direction
  #4
New Member
 
KYA123
Join Date: Apr 2016
Posts: 4
Rep Power: 10
YK123 is on a distinguished road
http://www.cfd-online.com/Forums/ope...direction.html

Kindly advise on how to solve the problems urgently.
YK123 is offline   Reply With Quote

Reply


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
Getting Started with OpenFOAM wyldckat OpenFOAM 26 June 21, 2024 07:54
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
atmospheric boundary layer (ABL) - implementing wind direction rob3rt 0ng OpenFOAM Running, Solving & CFD 0 November 4, 2015 21:57
3D horizontal axis wind turbine, OpenFOAM beginner tareqkh OpenFOAM 0 July 16, 2015 08:19
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04


All times are GMT -4. The time now is 13:21.