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

fvOptions in laplacianfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2023, 09:41
Default fvOptions in laplacianfoam
  #1
Ved
New Member
 
Vedant Dwivedi
Join Date: Mar 2016
Posts: 5
Rep Power: 10
Ved is on a distinguished road
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
Ved is offline   Reply With Quote

Reply

Tags
fvoptions heat source


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
fvOptions source dimensions frubicle93 OpenFOAM Programming & Development 5 June 24, 2024 09:32
Heat source using fvOptions in laplacianFoam osha OpenFOAM Programming & Development 4 October 27, 2020 04:28
What are the units used in the thermophysicalProperties and fvOptions dictionaries? ophr OpenFOAM Pre-Processing 2 June 16, 2019 01:29
Configuration of boundary conditions and fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 16 May 3, 2019 16:35
Power and Enthalpy in fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 1 April 26, 2019 10:03


All times are GMT -4. The time now is 22:15.