CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

fvOptions, faceZone, directionalPressureGradientExplicitSource

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2017, 05:04
Default fvOptions, faceZone, directionalPressureGradientExplicitSource
Anders Utnes
Join Date: May 2017
Location: Norway
Posts: 34
Rep Power: 7
Alasir is on a distinguished road

Im trying to use directionalPressureGradientExplicitSource as a momentumsource to get my channel going.

A problem with this is that it requires a Facezone set. Ive aquired one using the topoSet application, but I seem to have encountered a problem.

I did the orgiinal mesh using gmsh, with gave me a "Internal" cell list.

        name    fs;
        type    faceSet;
        action  new;
        source  cellToFace;
        set Internal; option both;
        name    fz;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;

        sourceInfo {faceSet fs;}
Creating finite volume options from "constant/fvOptions"

Selecting finite volume options model type directionalPressureGradientExplicitSource
    Source: fluidDeflection
    - selecting all cells
    - selected 249411 cell(s) with volume 1.01957e-10
    Initial pressure gradient = 249411{(0 0 0)}

Starting time loop

forces forceCoeffs:
    Not including porosity effects

forceCoeffs forceCoeffs:
    Not including porosity effects

Time = 1e-14

Courant Number mean: 0 max: 0
smoothSolver:  Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib64/"
#3  Foam::fv::directionalPressureGradientExplicitSource::correct(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) at ??:?
#4  ? at ??:?
#5  ? at ??:?
#6  __libc_start_main in "/lib64/"
#7  ? at ??:?
Floating point exception
[ofuser@default MasterRe1000003x4kEq]$
Note that pisoFoam runs if I dont use fvOptions.

Any help on how to use the correct facezones would be appreciated.
Alasir is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
Calculate Mass Flowrate at a faceZone with OpenFOAM4 donQi OpenFOAM Post-Processing 1 August 31, 2016 21:13
Problem with Application based on a faceZone in parallel psilkeit OpenFOAM Programming & Development 2 April 28, 2016 09:47
faceZone or cellZone for MRF nash OpenFOAM Pre-Processing 2 April 30, 2015 12:06

All times are GMT -4. The time now is 11:47.