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

Help creating the model and mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2010, 15:03
Default Help creating the model and mesh
  #1
New Member
 
shyam
Join Date: Oct 2010
Posts: 17
Rep Power: 16
ksp1717 is on a distinguished road
Hi

I am new to openfoam. I am trying to do a cfd analysis of an oven. The schematic of the oven is as shown in the figure attached.

The air inlet and outlets are shown by arrows. the oven is completely close in all the directions. The lower part of the diagram shows a material web. The web is moving and the direction is shown by the arrows appropriatley. There is a set of air inlets and outlets below the web which is not shown here.

I am intending to do a 2D analysis of this setup. I am not sure how to model this for the foam. Should I make the entire 3D model or should i just make a crosssectional model (exactly as shown in the figure given a small thrid dimension into the plane. I tried the crossectional method using the GMSH software. But my mesh is present only on the geometries. There is no mesh in the area between the web and the top.


Can anyone help me please.

Shyam
Attached Images
File Type: jpg oven.JPG (8.9 KB, 50 views)
ksp1717 is offline   Reply With Quote

Old   November 8, 2010, 19:16
Default Boundary Conditions
  #2
New Member
 
shyam
Join Date: Oct 2010
Posts: 17
Rep Power: 16
ksp1717 is on a distinguished road
Hi

I have managed to create the model. I gave the boundary conditions at the inlet as

inlet
{
type patch;
physicalType inlet;
nFaces 134;
startFace 21254;
}

will this work. or should I just say
inlet
{
type wall;
physicalType inlet;
nFaces 134;
startFace 21254;
}

I checked the user guide and there is no mention of the physical type in it. but i looked into the programming guide and there it is mentioned to use physical type.
ksp1717 is offline   Reply With Quote

Old   November 9, 2010, 02:36
Default
  #3
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi Shyam,

Try making the mesh using blockMesh. For learning how to use blockMesh you can refer the User's guide. This is a simple geometry and it would be lot easier to specify boundary conditions if you use blockMesh although it may be a little tedious.

If you face any problems in that, do feel free to ask!!
nakul is offline   Reply With Quote

Old   November 9, 2010, 18:04
Default Temperature intial conditon
  #4
New Member
 
shyam
Join Date: Oct 2010
Posts: 17
Rep Power: 16
ksp1717 is on a distinguished road
Hi

I managed to create the model and mesh . I wrote the velocity file in 0 directory.

Now I am writing the temperature T file.

I gave values for my inlet and outlets but i am unable to figure out what the condition(type) for moving wall should be.

The wall starts at 25 C and as it moves through the oven gains temperature.

Can anyone help me in writing this.

Shyam
ksp1717 is offline   Reply With Quote

Old   November 10, 2010, 07:23
Default
  #5
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi,
If your problem has viscous forces then for U at the moving wall boundary condition in accordance with no slip condition should be plate velocity only.

You may write that explicitly.

As far as T and p are concerned they would vary througout the solution so a boundary condition of "zeroGradient" would suffice. The effect of moving plate has already been incorporated in U directory.
nakul is offline   Reply With Quote

Old   November 10, 2010, 17:02
Default Material Properties and other errors
  #6
New Member
 
shyam
Join Date: Oct 2010
Posts: 17
Rep Power: 16
ksp1717 is on a distinguished road
Hi nakul thanks for your reply.

I have finished giving the initializations. I cannot find any info as to where I should enter the properties of my moving wall because my final objective is to find out the temperature at the end of the wall. So my first problem will be to give the material properties.

second when i run i get the following error.

Code:
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Reading thermophysical properties

Reading field T

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2   in "/lib/libc.so.6"
#3  Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#4  Foam::surfaceInterpolation::weights() const in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#5  
 in "/opt/openfoam170/applications/bin/linux64GccDPOpt/buoyantBoussinesqSimpleFoam"
#6  __libc_start_main in "/lib/libc.so.6"
#7  
 in "/opt/openfoam170/applications/bin/linux64GccDPOpt/buoyantBoussinesqSimpleFoam"
Floating point exception
I checked the error and found out that it might be because of an initialization with 0, but I get the same without any 0 initializations. Any idea why i get it and how i can correct it.

Thanks, Shyam
ksp1717 is offline   Reply With Quote

Old   November 11, 2010, 01:07
Default
  #7
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi,

For your first problem, I don't think OF presently have any solver which would solve the flow field and provide you with temperature distribution on your wall as well. At most you can get the amount of heat flux at that boundary. So you may stop thinking about feeding material properties of the wall to OF.

Secondly this error is not due to initialisation with 0 but because of division with 0, while calculating the field phi. This occurs due to incorrect case setup. Look into your fvSchemes file as well as your initial conditions in 0 directory.

You may have to do some trial and error to get around this problem.
A;ternatively look into the source code to figure out how phi is being calculated and make necessary changes in your case.
nakul is offline   Reply With Quote

Reply

Tags
mesh, modeling, oven


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Creating a complete model of the axisymmetric gegemon FLUENT 0 October 2, 2010 08:28
CAD model sliver faces - CFX Mesh - Parasolid? Ianto CFX 3 February 8, 2009 19:32
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


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