CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Bug? Helyx-OS 1.0.3 for OpenFOAM-2.2.1 ? (

JR22 September 19, 2013 00:32

Bug? Helyx-OS 1.0.3 for OpenFOAM-2.2.1 ?

I tried creating a buoyantBoussinesqPimpleFoam test case using HelyxOS-1.0.3 for an OpenFOAM-2.2.1 installation and got the following problem:


cannot find file

file: /home/admin1/Engys/HelyxOS/run/testCylinder/0/alphat at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting

I checked the 0 directory and the alphat file, and it seems HelyxOS is not creating it either. Has this happened to anybody?. HelyxOS-1.0.2 did not create it, but it seems it wasn't required by OpenFOAM-2.2.0 whereas OpenFOAM-2.2.1 does require it.

chegdan September 19, 2013 13:25


yep, this is a change that was made in standard OpenFOAM and is being updated in HELYX-OS. I can walk you through these changes that will be made and also give you a workaround that will get things working again.
  1. Go into the HELYX-OS/v1.0.3/ directory and find

    and make a copy for good measure (and keep it in a safe place) and then do a find and replace of kappat with alphat
  2. Go to the same directory and find

    make a copy for good measure (and keep it in a safe place) and find and replace kappat to alphat
  3. Next, restart HELYX-OS to get these new defaults and then go to "edit script" and add

    rm $CASE/constant/radiationProperties
    before the mpirun. This is because a radiation model will need to be specified if the radiationProperties file is lets delete it for now.

That should do it for now but the fix will be out soon to get this taken care of correctly/officially :D More thorough testing should also be done to make sure this does not affect other solver, so if you find any issues then report back here. Thanks for pointing that out, because this is how the tool improves!

All times are GMT -4. The time now is 17:02.