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/)
-   -   Problem seeing new case in case browser (https://www.cfd-online.com/Forums/openfoam-pre-processing/62185-problem-seeing-new-case-case-browser.html)

alan_fergus October 10, 2005 11:01

i`ve created a new case, but i
 
i`ve created a new case, but i can`t see it in the browser, ran the refresh case browser but it still didn't come up. Any advice would be great
alan

mattijs October 10, 2005 13:57

If you look in the directory i
 
If you look in the directory itself is the case created?

If not, maybe the protections on the directory prevent you from creating a directory.

Is this a standard solver (icoFoam, simpleFoam etc.)

alan_fergus October 11, 2005 09:36

thanks for the help. Got it so
 
thanks for the help. Got it sorted. This is a real noob question but when you are defining your boundary how do you work out the nfaces value and startFace value.

alan_fergus October 11, 2005 09:36

thanks for the help. Got it so
 
thanks for the help. Got it sorted. This is a real noob question but when you are defining your boundary how do you work out the nfaces value and startFace value. thanks alan

billy October 11, 2005 15:10

If you have a mesh, there is a
 
If you have a mesh, there is a program called autoPatch which will create the patches automatically according to a specified angle. This has always worked for me after importing meshes from gmsh.

If you build you mesh in FoamX and use blockMesh I think you don't have to worry about nFaces abd startFace values.

It all depends on what you want to do.

unoder October 16, 2005 07:31

Hi, I also started with usi
 
Hi,

I also started with using the FoamX case browser but I wouldn't advise you to use that. I never use it now - instead you just copy from the tutorials/(solver) directory and modify your case directly with a text editor.

This works much better. And autopatch works from inside patchTool which you can invoke from command line. After that you just change initial conditions with your text editor inside the time= 0/ directory and/or modify whatever files in system/

As Billy writes, I don't think you have to worry about nFaces and startFace? At least I don't.

newbee June 19, 2006 08:57

Hi, I have a 3D mesh from
 
Hi,

I have a 3D mesh from gmsh which I have converted to foam. all seems fine except that I have a whole bunch of faces in defaultFaces. The attached picture ilustrates my converted my mesh. For this mesh I would like to have 6 patches as follows:

http://www.cfd-online.com/OpenFOAM_D...your_image.gif

in picture:
closest patch = outlet
upper and right side = wall
curved holes = heat sources
left and bottom patch = symmetry
distant patch = inlet

unfortunatly I got a defaultPatch that containes all patches that are oriented in the depth direction and some in the outlet as follows:

defaultPatch:
http://www.cfd-online.com/OpenFOAM_D...your_image.gif

here is my mesh file that I tried to convert:


Does someone know how I can get hold of or redefine the defaultPatch?

Thanks
/Erik

newbee June 19, 2006 09:04

Hi, I have a 3D mesh from
 
Hi,

I have a 3D mesh from gmsh which I have converted to foam. all seems fine except that I have a whole bunch of faces in defaultFaces. The attached picture ilustrates my converted my mesh. For this mesh I would like to have 6 patches as follows:

http://www.cfd-online.com/OpenFOAM_D...ges/1/2587.jpg

in picture:
closest patch = outlet
upper and right side = wall
curved holes = heat sources
left and bottom patch = symmetry
distant patch = inlet

unfortunatly I got a defaultPatch that containes all patches that are oriented in the depth direction and some in the outlet as follows:

defaultPatch:
http://www.cfd-online.com/OpenFOAM_D...ges/1/2588.jpg

Does someone know how I can get hold of or redefine the defaultPatch?

Thanks
/Erik

mattijs June 20, 2006 02:27

With faceSet. See the sample f
 
With faceSet. See the sample faceSetDict.

There is a patchToFace source which allows you to pick up all faces of a patch.

newbee June 22, 2006 03:46

Thanks, now I got the numbers
 
Thanks, now I got the numbers of the default face. How do I split it up and make new patches of it?
can I do this with the faceSet command also?

/erik


All times are GMT -4. The time now is 19:12.