Skip to content

How to add outputs for instantaneous variables in output.f90 file #14

@chenjiaweiDr

Description

@chenjiaweiDr

I'm trying to output some instantaneous variables, such as the velocity gradient. To achieve this, I modified the output.f90 file and noticed the function:
subroutine out1d_single_point_chan(fname,ng,lo,hi,idir,l,dl,dzc_g,dzf_g,zc_g,zf_g,u,v,w,p,visct)
I see that there are some space-averaging operations, such as:
buf16 = buf16 + tmp_x
buf17 = buf17 + tmp_y
buf18 = buf18 + tmp_z
If I want to output instantaneous variables, I assume these space-averaging operations should be removed. Is that correct?

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