|
[Sponsors] |
July 31, 2024, 01:33 |
Error when trying to compute forces
|
#1 |
New Member
Jahir Bahena
Join Date: Feb 2024
Location: Mexico
Posts: 7
Rep Power: 2 |
Hello.
After some months of foaming I'm tying a very simple case of Poiseuille flow in steady state. I've build and run everything correctly but I can't get to run the case whenever I try to compute the force in the walls. My controlDict is as follows: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application simpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 500; deltaT 1; writeControl timeStep; writeInterval 100; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { fuerzasParedes { type forces; libs ("libforces.so"); patches (walls); rho rhoInf; rhoInf 1; } } // ************************************************************************* // Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2406 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _be01ca78-20240625 OPENFOAM=2406 version=2406 Arch : "LSB;label=32;scalar=64" Exec : simpleFoam Date : Jul 30 2024 Time : 22:25:47 Host : jahir-g3-3579 PID : 135745 I/O : uncollated Case : /home/jahir/OpenFOAM/jahir-v2406/run/flujoPoiseuille2D nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 SIMPLE: no convergence criteria found. Calculations will run for 200 steps. Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Selecting laminar stress model Stokes No MRF models present No finite volume options present Starting time loop forces fuerzasParedes: rho: rhoInf Freestream density (rhoInf) set to 1 Not including porosity effects --> FOAM FATAL IO ERROR: (openfoam-2406) file: system/controlDict/functions/fuerzasParedes at line 51 to 55. From bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType::option, Foam::IOobjectOption::readOption) const [with T = Foam::Vector<double>] in file lnInclude/dictionaryTemplates.C at line 327. FOAM exiting Btw, it's running on Ubuntu 24.04 inside distrobox (Endeavour OS). |
|
Tags |
forces, forces and moments, functions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 19:05 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
How to compute viscous forces in OpenLabs script | FineUser | Fidelity CFD | 4 | August 3, 2017 12:00 |
How does OpenFoam compute forces? | demo | OpenFOAM Post-Processing | 0 | August 5, 2016 08:03 |
Pressure and density values to compute forces | fernexda | OpenFOAM Post-Processing | 2 | March 6, 2015 04:39 |