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

Setting setFieldsDict for spark plug

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2024, 06:20
Default Setting setFieldsDict for spark plug
  #1
New Member
 
Join Date: Nov 2023
Posts: 2
Rep Power: 0
StefanosTrat is on a distinguished road
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
);
}
);


// ************************************************** *********************** //
StefanosTrat is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 23:33.