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

.stl file use in sHMD and boundaries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2014, 05:39
Question .stl file use in sHMD and boundaries
  #1
New Member
 
Jean-Pierre
Join Date: May 2014
Posts: 9
Rep Power: 12
Jeanp is on a distinguished road
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
Jeanp is offline   Reply With Quote

Old   June 29, 2014, 04:20
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
look at the boundary file in polyMesh folder, from there you will find whats the name of ur boundaries
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Tags
boundaries condition, snappyhesmeshdict, stl file


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



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