CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   .stl file use in sHMD and boundaries (https://www.cfd-online.com/Forums/openfoam-pre-processing/137898-stl-file-use-shmd-boundaries.html)

Jeanp June 25, 2014 04:39

.stl file use in sHMD and boundaries
 
Hi everyone,

I've been having problems with stl files. My simulation works fine in my computer but as soon as I send it to a cluster problems occur. It is strange because it is the same case with the same parameters with the exception of the number of processors for decomposePar and the number of iterations. I suspect these problems occure because of my stl geometry "managment". I would be gratefull if somebody could say me if I'm wrong or right when I have to specify my stl file in the code. For info my stl file header begis with the line "solid CATIASTL" and the file name is "train.stl":
-In sHMD :
HTML Code:

geometry
{
    train.stl
    {
        type triSurfaceMesh;
        name train;
    }

[...]
HTML Code:

refinementSurfaces
    {
        train
        {
            level (3 4);
        }

[...]
HTML Code:

layers
    {
        "train_CATIASTL" // I think is this one but I'm not sure if it is train_CATIASTL (without the " ") or train.stl or just train ?????
        {
                nSurfaceLayers 11;
        }
    }

In my boundaries conditions files (p for example):
HTML Code:

boundaryField

    "train" // The same problem. I'm not sure if it is train_CATIASTL (without the " ") or train.stl or just train ?????
    {
        type            zeroGradient;
    }

}

Sorry to ask for such a silly thing but I am quite confused..

Thanks!

JP

nimasam June 29, 2014 03:20

look at the boundary file in polyMesh folder, from there you will find whats the name of ur boundaries ;)


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