View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004251 | OpenFOAM | Contribution (requires maintenance funding) | public | 2025-07-07 09:18 | 2025-07-08 19:23 |
Reporter | lorenzotrevisan | Assigned To | henry | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | x86_64 | OS | Slackware | OS Version | 15.0 |
Product Version | 12 | ||||
Summary | 0004251: a proposal of new total temperature function for fieldFunctionObjects library | ||||
Description | current fieldFunctionObjects library include totalEnthalpy function, which, although useful, is relative and difficult to compare in my opinion. I defined a new total temperature function which adds the result totT [K], easily comparable with the absolute temperature field. | ||||
Steps To Reproduce | 1- extract the attached archive 'totalTemperature.tar.gz' in 'OpenFOAM-12/src/functionObjects/field/' 2- edit 'OpenFOAM-12/src/functionObjects/field/Make/files', add a new row just after 'totalEnthalpy/totalEnthalpy.C', and add the string 'totalTemperature/totalTemperature.C' in the new row; save the file 3- recompile the fieldFunctionObjects library: a new 'libfieldFunctionObjects.so' will be created 4- copy the attached new configuration file 'totalTemperature' in 'OpenFOAM-12/etc/caseDicts/functions/fields/' | ||||
Additional Information | in order to create the new total temperature result, add '#includeFunc totalTemperature' in functions list; the new results will be named totT | ||||
Tags | No tags attached. | ||||
|
totalTemperature (789 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 12 \\/ M anipulation | ------------------------------------------------------------------------------- Description Calculates and writes the total temperature (T + K / Cp) as the volScalarField T \*---------------------------------------------------------------------------*/ type totalTemperature; libs ("libfieldFunctionObjects.so"); executeControl writeTime; writeControl writeTime; // ************************************************************************* // |
|
https://openfoam.org/maintenance https://openfoam.org/news/funding-2025 |
|
Pending maintenance funding |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-07-07 09:18 | lorenzotrevisan | New Issue | |
2025-07-07 09:18 | lorenzotrevisan | File Added: totalTemperature.tar.gz | |
2025-07-07 09:18 | lorenzotrevisan | File Added: totalTemperature | |
2025-07-07 09:56 | henry | Note Added: 0013588 | |
2025-07-07 13:30 | administrator | Category | Contribution => Contribution (requires maintenance funding) |
2025-07-08 19:23 | henry | Assigned To | => henry |
2025-07-08 19:23 | henry | Status | new => closed |
2025-07-08 19:23 | henry | Resolution | open => suspended |
2025-07-08 19:23 | henry | Note Added: 0013589 |