CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

ChannelFoam (channel395) tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 1, 2013, 09:19
Default ChannelFoam (channel395) tutorial
  #1
New Member
 
Chaitanya
Join Date: May 2013
Posts: 1
Rep Power: 0
chaitanya2905 is on a distinguished road
Hi all,
While running the channel395 LES case in OpenFOAM, I came across the input files for U, P in the 0/ folder.

In an earlier version of OpenFOAM the following was given as U -
dimensions [ 0 1 -1 0 0 0 0 ];

internalField uniform ( 0.1335 0 0 );

boundaryField
{
bottomWall
{
type fixedValue;
value uniform ( 0 0 0 );
}
topWall
{
type fixedValue;
value uniform ( 0 0 0 );
}
sides1_half0
{
type cyclic;
}
sides2_half0
{
type cyclic;
}
inout1_half0
{
type cyclic;
}
inout2_half0
{
type cyclic;
}
sides2_half1
{
type cyclic;
}
sides1_half1
{
type cyclic;
}
inout1_half1
{
type cyclic;
}
inout2_half1
{
type cyclic;
}
}

But in a more recent version, some particlular values are given as input as follows-
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [ 0 1 -1 0 0 0 0 ];

internalField nonuniform List<vector>
60000
(
(0.0107927 -2.64614e-05 0.00214946)
(0.0107939 -3.50395e-05 0.0018715)
(0.010668 -2.59457e-05 0.0018284)
(0.010506 -2.30178e-05 0.00187392)
(0.0102247 -2.2066e-05 0.00177587)
(0.00955156 -1.34048e-05 0.0014899)
---
--- (total 60000 values)
---
---
(0.00350409 2.92775e-06 0.000598645)
(0.00363976 8.34116e-06 0.000584211)
(0.00387081 1.03007e-05 0.00028651)
(0.00405982 9.84038e-06 -0.000195238)
(0.00422723 9.75437e-06 -0.000496873)
)
;

boundaryField
{
bottomWall
{
type fixedValue;
value uniform ( 0 0 0 );
}
topWall
{
type fixedValue;
value uniform ( 0 0 0 );
}
sides1_half0
{
type cyclic;
}
sides2_half0
{
type cyclic;
}
inout1_half0
{
type cyclic;
}
inout2_half0
{
type cyclic;
}
sides2_half1
{
type cyclic;
}
sides1_half1
{
type cyclic;
}
inout1_half1
{
type cyclic;
}
inout2_half1
{
type cyclic;
}
}

Can anyone please explain how these values were derived ?

It is very important for me as I want to alter the dimensions of the channel and hence would require to give new velocity values in 0/ folder.
chaitanya2905 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 10:41


All times are GMT -4. The time now is 23:25.