|
[Sponsors] |
error: Argument of trancendental function not dimensionless custom solver problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2024, 08:48 |
error: Argument of trancendental function not dimensionless custom solver problem
|
#1 |
New Member
Join Date: Jan 2024
Posts: 25
Rep Power: 2 |
Hi i am getting this error why trying to run my custom solver for buoynatbussenisq humidity simple foam:
--> FOAM FATAL ERROR: (openfoam-2406) Argument of trancendental function not dimensionless From Foam::dimensionSet Foam::trans(const Foam::dimensionSet&) in file dimensionSet/dimensionSet.C at line 482. i think the problem is in that formula in the solver.c file: // Solve for water vapor concentration solve ( fvm::div(phi, waterVapor) == fvm::laplacian(D_wa, waterVapor) ); // Calculate relative humidity volScalarField relativeHumidity ( IOobject ( "relativeHumidity", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), (101325 + p) * waterVapor / (0.62198 + 0.37802 * waterVapor) / exp(-0.58002206e4 / T + 0.13914993e1 - 0.48640239e-1 * T + 0.41764768e-4 * T * T - 0.14452093e-7 * T * T * T + 0.65459673e1 * Foam::log(T)) ); any solution for that ? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
Problem with compiling the custom solver evapVOFHardt | lukasz0004 | OpenFOAM Programming & Development | 6 | March 13, 2016 15:04 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |