CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Verification & Validation

simpleFoam Validation in Urban Environment using AIJ guidelines (openCAE)

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

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   October 22, 2013, 06:43
Default
  #21
Member
 
Masashi IMANO
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 34
Rep Power: 7
imano is on a distinguished road
Hi,

Hmm.. It seems that OF-2.1.0 does not have nutkAtmRoughWallFunction
boundary condition.

So I have changed nut wall function from nutkAtmRoughWallFunction
to nutkWallFunction in branches/2.1/CaseA case.

Please see changeset below and exclude "svn update" in that directory!
http://www.opencae.jp/changeset/128/OpenFOAM-VandV-SIG

Masashi

Quote:
Originally Posted by alvinsim2013 View Post
Dear Masashi-san,

I have changed to OF2.1 and included the boundaryData's points, k, U and epsilon in the constant folder.
All the log files did not show up any error messages, except 'log' file.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-bd7367f93311
Exec : simpleFoam
Date : Oct 22 2013
Time : 12:22:58
Host : "hpclogin2"
PID : 16674
Case : /OpenFOAM-VandV-SIG/AIJ-PWEAB/branches/2.1/CaseA
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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 kEpsilon
 
--> FOAM FATAL IO ERROR:
Unknown patchField type nutkAtmRoughWallFunction for patch type wall
Valid patchField types are :
65
(
advective
atmBoundaryLayerInletEpsilon
buoyantPressure
calculated
codedFixedValue
codedMixed
cyclic
cyclicAMI
cyclicSlip
directionMixed
empty
epsilonWallFunction
fan
fanPressure
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
kappatJayatillekeWallFunction
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mixed
nonuniformTransformCyclic
nutLowReWallFunction
nutTabulatedWallFunction
nutURoughWallFunction
nutUSpaldingWallFunction
nutUWallFunction
nutkRoughWallFunction
nutkWallFunction
omegaWallFunction
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
processorCyclic
rotatingTotalPressure
sliced
slip
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
totalPressure
totalTemperature
turbulentHeatFluxTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
turbulentMixingLengthDissipationRateInlet
turbulentMixingLengthFrequencyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
uniformTotalPressure
waveSurfacePressure
waveTransmissive
wedge
zeroGradient
)
 
file: /OpenFOAM-VandV-SIG/AIJ-PWEAB/branches/2.1/CaseA/0/nut::boundaryField::z_ from line 27 to line 30.
From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /usr/local/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 135.
FOAM exiting


Thanks a lot.
imano is online now   Reply With Quote

Old   October 22, 2013, 12:19
Default
  #22
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
I have made the changes, but log.Toposet has errors too.While log.sample has FOAM warning, hope this is okay.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-bd7367f93311
Exec : topoSet
Date : Oct 23 2013
Time : 00:14:06
Host : "hpclogin2"
PID : 6935
Case : /gpfs/home/tssim1/OpenCAE/AIJ-new2/OpenFOAM-VandV-SIG/AIJ-PWEAB/branches/2.1/CaseA
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create polyMesh for time = 0
Reading topoSetDict
 
 
--> FOAM FATAL IO ERROR:
cannot open file
file: /gpfs/home/tssim1/OpenCAE/AIJ-new2/OpenFOAM-VandV-SIG/AIJ-PWEAB/branches/2.1/CaseA/system/topoSetDict at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 87.
FOAM exiting



================================================== =

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-bd7367f93311
Exec : sample -latestTime
Date : Oct 23 2013
Time : 00:14:16
Host : "hpclogin2"
PID : 7472
Case : /gpfs/home/tssim1/OpenCAE/AIJ-new2/OpenFOAM-VandV-SIG/AIJ-PWEAB/branches/2.1/CaseA
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 200
--> FOAM Warning :
From function sampledSets::combineSampledSets(..)
in file sampledSet/sampledSets/sampledSets.C at line 102
Sample set verx_-075 has zero points.
--> FOAM Warning :
From function sampledSets::combineSampledSets(..)
in file sampledSet/sampledSets/sampledSets.C at line 102
Sample set verx_075 has zero points.
--> FOAM Warning :
From function sampledSets::combineSampledSets(..)
in file sampledSet/sampledSets/sampledSets.C at line 102
Sample set verx_125 has zero points.
--> FOAM Warning :
From function sampledSets::combineSampledSets(..)
in file sampledSet/sampledSets/sampledSets.C at line 102
Sample set verx_200 has zero points.
--> FOAM Warning :
From function sampledSets::combineSampledSets(..)
in file sampledSet/sampledSets/sampledSets.C at line 102
Sample set verx_325 has zero points.
Reading set description:
verx_-075
verx_-050
verx_-025
verx_000
verx_050
verx_075
verx_125
verx_200
verx_325
Time = 200
End
alvinsim2013 is offline   Reply With Quote

Old   October 22, 2013, 12:31
Default
  #23
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
There should be a 'topoSetDict' file in the 'system' directory, should it?
alvinsim2013 is offline   Reply With Quote

Old   October 23, 2013, 02:29
Default AIJ Test Case B
  #24
New Member
 
Alex Lee
Join Date: Sep 2012
Posts: 11
Rep Power: 4
Alex Lee is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!



Looking back at the original problem:


The problem is that this "link" is actually an artificial link created by the SVN mechanism. It actually means that when checking out the source code through SVN, it would automatically interpret the "Allrun" file as a symbolic link pointing to "../share/Allrun", namely this file: http://www.opencae.jp/svn/OpenFOAM-V...B/share/Allrun

To manually fix this, run from the "CaseB" folder the following block of code on the command line:
Code:
for model in kEpsilon NonlinearKEShih RNGkEpsilon realizableKE
do
    cd $model
    rm Allrun
    ln -s ../share/Allrun Allrun
done
And that's that! It's ready to be used.

Best regards,
Bruno
Dear all,

I could not resolve the problem using the above tips by Bruno.

I did a ./Allrun in the kEpsilon folder and just to check out what is wrong with the script. Here is the error message during the simpleFoam run:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : simpleFoam
Date : Oct 23 2013
Time : 14:19:00
Host : "judah-Ubuntu"
PID : 23454
Case : /home/alex/OpenFOAM/CaseB-2.1/kEpsilon
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0



--> FOAM FATAL ERROR:
Cannot find file "points" in directory "polyMesh" in times 0 down to constant

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
in file db/Time/findInstance.C at line 188.

FOAM exiting

-----------------------
Alex Lee is offline   Reply With Quote

Old   October 23, 2013, 03:42
Default
  #25
Member
 
Masashi IMANO
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 34
Rep Power: 7
imano is on a distinguished road
Hi Alvin,

Quote:
Originally Posted by alvinsim2013 View Post
There should be a 'topoSetDict' file in the 'system' directory, should it?
Right!
I have added topoSetDict in trunk repository but I forgot to add
it in branches repository, sorry. So I just added it now.

http://www.opencae.jp/changeset/129/OpenFOAM-VandV-SIG

Masashi
imano is online now   Reply With Quote

Old   October 23, 2013, 04:03
Default
  #26
Member
 
Masashi IMANO
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 34
Rep Power: 7
imano is on a distinguished road
Hi,

Quote:
Originally Posted by Alex Lee View Post
I could not resolve the problem using the above tips by Bruno.

I did a ./Allrun in the kEpsilon folder and just to check out what is wrong with the script. Here is the error message during the simpleFoam run:
I just removed branches/2.1/Case[B-F] for maintenance.

http://www.opencae.jp/changeset/130/OpenFOAM-VandV-SIG

So please wait for a while until updating these cases for OF version 2.1.x.

BTW as Bruno suggested, symbolic link files in CaseB/[RASModel] directories would not be checked out correctly if you check out on non *nix file system like NTFS or FAT.

So checkout should be done on *nix file system or OS like Linux or Mac OS.

All the Best,
Masashi
imano is online now   Reply With Quote

Old   October 23, 2013, 09:10
Default
  #27
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
ありがとう, Masashi san
alvinsim2013 is offline   Reply With Quote

Old   December 2, 2013, 02:08
Default
  #28
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
Hi Imano san,

Not sure if there is any update of the cases?
alvinsim2013 is offline   Reply With Quote

Old   December 16, 2013, 02:25
Default updates on cases on maintenance
  #29
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
Quote:
Originally Posted by imano View Post
Hi,



I just removed branches/2.1/Case[B-F] for maintenance.

http://www.opencae.jp/changeset/130/OpenFOAM-VandV-SIG

So please wait for a while until updating these cases for OF version 2.1.x.

BTW as Bruno suggested, symbolic link files in CaseB/[RASModel] directories would not be checked out correctly if you check out on non *nix file system like NTFS or FAT.

So checkout should be done on *nix file system or OS like Linux or Mac OS.

All the Best,
Masashi
Hi Masahi, any updates for any of the case taken down for maintenance soon?
alvinsim2013 is offline   Reply With Quote

Old   January 2, 2014, 04:46
Default comparing timevaryingmappedfixedvalue and setdiscretefield
  #30
New Member
 
Alvin TS
Join Date: Oct 2013
Posts: 17
Rep Power: 3
alvinsim2013 is on a distinguished road
Hi Masashi-san,

1) I would like to ask about your case A on the site
http://www.opencae.jp/wiki/OpenFOAM-VandV-SIG/AIJ-PWEAB

I looked through the '0' folder and it uses 'timevaryingmappedfixedvalue'. I thought you have used setdiscretefield utility since this case A does not use snappyhexmesh. Am I right to say that even for discretesetfield utility, one needs to specify the timevaryingmappedfixedvalue BC in the 0 folder?

2) Since you have done the case A using timevaryingmappedfixedvalue and setdiscretefield, is there any difference in the final results obtained?


Regards
Alvin
alvinsim2013 is offline   Reply With Quote

Old   July 23, 2014, 09:07
Default AIJ Test Cases OpenFoam Report
  #31
New Member
 
Alex Lee
Join Date: Sep 2012
Posts: 11
Rep Power: 4
Alex Lee is on a distinguished road
Dear Imano san,

I am wondering have you ever compiled the AIJ validation results obtained using OpenFoam?

If yes, could i have the privilege to obtain a copy of this report ?

The purpose of this request is to enable me to bring to our building construction authority (BCA) and to convice them that OpenFoam results are as good as Fluent or CFX or Star CCM.

Currently, they are so stiff neck about their decision on not letting people submitting OpenFoam results in building performance analysis submission.

Your help is very much appreciated.

Thank you.

ALEX LEE
Alex Lee is offline   Reply With Quote

Reply

Tags
buildings, simplefoam, urban wind, validation

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 10:22
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
Porous jump in urban environment samygero FLUENT 0 February 14, 2011 19:26


All times are GMT -4. The time now is 03:32.