|
[Sponsors] |
December 24, 2023, 10:41 |
fvOptions in laplacianfoam
|
#1 |
New Member
Vedant Dwivedi
Join Date: Mar 2016
Posts: 5
Rep Power: 10 |
1, I have this fvOptions
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // options { type semiImplicitSource; active no; selectionMode all; volumeMode absolute; sources { e (100 0); } } // ************************************************** *********************** // it gives error like this keyword type is undefined in dictionary "/home/ved/OpenFOAM/ved-8/run/case1/flange/system/fvOptions/options/sources" file: /home/ved/OpenFOAM/ved-8/run/case1/flange/system/fvOptions/options/sources from line 27 to line 27. 2. I another fvoptions file replacing line 27 /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // options { type semiImplicitSource; active no; selectionMode all; volumeMode absolute; sources { e { explicit 1e4; implicit 0; } } } // ************************************************** *********************** // It gives error like this --> FOAM FATAL IO ERROR: keyword type is undefined in dictionary "/home/ved/OpenFOAM/ved-8/run/case1/flange/system/fvOptions/options/sources" file: /home/ved/OpenFOAM/ved-8/run/case1/flange/system/fvOptions/options/sources from line 28 to line 29. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 797. FOAM exiting |
|
Tags |
fvoptions heat source |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fvOptions source dimensions | frubicle93 | OpenFOAM Programming & Development | 5 | June 24, 2024 10:32 |
Heat source using fvOptions in laplacianFoam | osha | OpenFOAM Programming & Development | 4 | October 27, 2020 05:28 |
What are the units used in the thermophysicalProperties and fvOptions dictionaries? | ophr | OpenFOAM Pre-Processing | 2 | June 16, 2019 02:29 |
Configuration of boundary conditions and fvOptions file | Raza Javed | OpenFOAM Running, Solving & CFD | 16 | May 3, 2019 17:35 |
Power and Enthalpy in fvOptions file | Raza Javed | OpenFOAM Running, Solving & CFD | 1 | April 26, 2019 11:03 |