|
[Sponsors] |
October 9, 2024, 06:20 |
Setting setFieldsDict for spark plug
|
#1 |
New Member
Join Date: Nov 2023
Posts: 2
Rep Power: 0 |
Hello Foamers,
I am trying to simulate the combustion of non-premixed methane/air mixtures in a gas turbine combustor. I have already run successfully the coldflow(318K) but now all I want to do is to begin the combustion process. I know that I could just change the inlet fuel's temperature e.g. at 2000K for a moment until an inclination of temperature is observed and then turn it back at 318K. This time I want to use the setFieldsDict as a spark plug BUT I want to give it a duration of activation for example 2-3 seconds. Does anyone know how to implement a time duration at the code? Any help would be highly appreciated! I will paste here the setFieldsDict I have . /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue T 318 ); regions ( boxToCell { box (0.002 -0.01 0.005) (0.02 0.01 0.055); fieldValues ( volScalarFieldValue T 850 ); } ); // ************************************************** *********************** // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Parallelization Problem After AC Power Dropped | pawl | Hardware | 5 | November 13, 2016 07:08 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 10:53 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |