|
[Sponsors] |
What is the correct way to initialize a spherical farfield domain? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 6, 2016, 07:47 |
What is the correct way to initialize a spherical farfield domain?
|
#1 |
Member
jey
Join Date: Nov 2016
Location: Greece
Posts: 30
Rep Power: 10 |
Hello people
I would like to ask what is the way to initialize a spherical farfield domain? Using the following BCs I get a weird initialization with potentialFoam (OFv4.1) as shown below view1.PNG view2.PNG view3.PNG It is about a simple spherical body into a farfield domain. I have only 3 boundaries (see code) Here is my code Boundaries "/constant/polyMesh/boundary" Code:
FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location ""; object boundary; } 3 ( farfield { type patch; startFace 77179; nFaces 3670; } body { type wall; startFace 80849; nFaces 162; } symmetry { type symmetry; startFace 81011; nFaces 2438; } ) Code:
FoamFile { version 2.0; format ascii; class volVectorField; location ""; object U; } dimensions [0 1 -1 0 0 0 0]; internalField uniform ( 2.5 0. 0. ); boundaryField { farfield { type inletOutlet; inletValue uniform (2.5 0. 0.); value uniform (2.5 0. 0.); } body { type fixedValue; value uniform (0. 0. 0.); } symmetry { type symmetry; } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; location ""; object p; } dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.; boundaryField { farfield { type outletInlet; value uniform 0; outletValue uniform 0; } body { type zeroGradient; } symmetry { type symmetry; } } The velocity does not advance inside the domain (as would be expected) and just stays in the half boundary (following strange patterns). Does anyone know what is the correct way to initialize such a field.? I have tried various boundary conditions until now. Thanks everyone in advance for spending their time for this! Have a nice day! |
|
Tags |
farfield, openfoam 4.1, potential flow, potentialfoam, spherical |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat transfer within a porous domain | rbezerra | CFX | 5 | January 9, 2015 06:06 |
Setting rotating frame of referece. | RPFigueiredo | CFX | 3 | October 28, 2014 05:59 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Is this correct? (Rotating domain) | paulo | CFX | 10 | June 17, 2010 14:19 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 08:22 |