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

Unable to find turbulence model in the database

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

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2024, 05:10
Default Unable to find turbulence model in the database
  #1
New Member
 
mitb
Join Date: Apr 2024
Posts: 2
Rep Power: 0
mitbakhai is on a distinguished road
Hi I am using denseParticleFoam solver to simulate 2 phase flows and I want to calculate th wallshearStress, using the denseParticleFoam -postProcess -func wallShearStress but whenever I start I get this error
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  10
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     denseParticleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         2.0;

deltaT          2.5e-5;

writeControl    adjustableRunTime;

writeInterval   0.1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

adjustTimeStep  yes;

maxCo           1.00;


functions
{
  wallShearStress
    {
        type            wallShearStress;
        libs            ("libfieldFunctionObjects.so");

        executeControl  timeStep;
        writeControl    outputTime;
    }   
   /* fieldAverage
    {
        type                fieldAverage;
        writeControl        outputTime;
        timeStart           0;
        fields
        (
            wallShearStress
            {   
                mean        on;
                prime2Mean  off;
                base        time;
            }
        );
        libs  ("libfieldFunctionObjects.so");
    }*/
    }

and the error i get is

Code:
Starting time loop

wallShearStress wallShearStress:
    processing all wall patches



--> FOAM FATAL ERROR: 
Unable to find turbulence model in the database

    From function virtual bool Foam::functionObjects::wallShearStress::execute()
    in file wallShearStress/wallShearStress.C at line 210.

FOAM exiting
Does anyone know how to fix this issue?

Thanks
mitbakhai is offline   Reply With Quote

Old   June 24, 2024, 01:03
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 759
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
How do you set the turbulence model?

What is your constant/turbulenceModel or similar?
dlahaye is offline   Reply With Quote

Old   June 24, 2024, 01:04
Default
  #3
New Member
 
mitb
Join Date: Apr 2024
Posts: 2
Rep Power: 0
mitbakhai is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
How do you set the turbulence model?

What is your constant/turbulenceModel or similar?

Laminar flow simulation and viscosity is constant
mitbakhai is offline   Reply With Quote

Old   June 24, 2024, 01:33
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 671
Rep Power: 12
AtoHM is on a distinguished road
wallShearStress
dlahaye likes this.
AtoHM is offline   Reply With Quote

Reply

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
[GUIDE] Switching turbulence model to SpalartAllmaras gabrielfelix OpenFOAM Running, Solving & CFD 1 March 24, 2022 20:19
How to make a code parallel? Bruno Machado Fluent UDF and Scheme Programming 15 May 27, 2016 09:18
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 15:45


All times are GMT -4. The time now is 08:49.