CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Are there anybody study in compute wind engineering (

ivanyao November 17, 2008 22:06

hi, I am simulating a wind pr
I am simulating a wind pressure on a building,my inlet boundary conditin(u k ε) are not a constant,so I must write a new BC to my case,I have compile them (u k ε) successfully,so I follow the step
1.add libs ("")
libs ("")
libs ("libε.so")
in my system/controlDict
it is ok when I only add libs ("")in my system/controlDict,and I can calculate successfully,
when I add libs (""),it show
--> FOAM Warning :
From function dictionary::read(Istream&, const word&)
in file db/dictionary/dictionaryIO.C at line 92
Reading "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict" at line 28
could not add entry
libs ( "" );
on line 28 of dictionary "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict"
entry already in dictionary :
ITstream : /home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict:: libs, line 27, IOstream: Version 2.0, format ASCII, line 27, OPENED, GOOD
when I try to calculate,it is show:
gradientInternalCoeffs cannot be called for a defaultFvPatchField (actual type k)
on patch inlet of field epsilon in file "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/0/k"
You are probably trying to solve for a field with a default boundary condition.

From function defaultFvPatchField<type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/default/defaultFvPatchField.C at line 694.

FOAM exiting
can someone give me a hand?I appreciate it.thank you.

carrie November 17, 2008 23:17

HI, I have the same problem,b
I have the same problem,but i do not know how to do,if you find the problem, post it on here.thank you.

ivanyao November 25, 2008 22:48

This is a picture of me: http
This is a picture of me: case1.rar

All times are GMT -4. The time now is 15:49.