Skip to content

Bondary conditions / Post-processing using PeleAnalysis-master #416

@bazharz

Description

@bazharz

Hello,

I am contacting you because I am encountering an issue with post-processing. I have a 2D domain where I am simulating the propagation of a planar auto-ignition front. The boundary conditions of the domain are as follows: Outflow and Interior. Two faces perpendicular to the front propagation are set to Interior, while the two faces parallel to the propagation are set to Outflow.

First, do the boundary conditions cause any issues?

The goal is to quantify the front propagation speed, not to stabilize it in the middle of the domain with a fixed inflow speed of fresh gases.

To achieve this, I used the following formula:
YC​=YH2​​O−YH2​​−YO2​​

ωC=ωH2O−ωH2−ωO2

C=(YC - YC,min) / (YC,max - YC,min)

Sl = (-grad_x(rho * D_N2 * grad_x(YC)) + \dot{omega}_C) / (rho_0 * grad_x(YC))

I then quantify this value at the isoline C = 0.5.

The problem I am facing is that I observe oscillations in the propagation speed when plotting it. I calculated this speed in the file print_Sl_coord_1.cpp within PeleAnalysis-master.

I have two questions:

  1. Could the Outflow boundary conditions on both ends influence the oscillations in the results?
  2. If not, could the way the gradients are calculated be inaccurate, causing these oscillations?

You can find here the link to the branch with pelelmex* files, the input.2d file, the initial condition .dat file, and the post-processing file.

I would also like to store the thermal diffusion term. Is it possible to do this from the source files and retrieve it in the same way as HeatRelease?

Thank you in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions