|
From: Buket E. <buk...@ho...> - 2024-03-05 19:49:08
|
Hello everyone,
I'm trying to run this simulation and get f_1[2] numerical output in log file but i get the "ERROR: Stats fix does not compute vector (../stats.cpp:702)" error. How can i fix this?
################################################################################
# 2d axisymmetric flow around a circle with specular reflections
#
# Note:
# - The "comm/sort” option to the “global” command is used to match MPI runs.
# - The “twopass” option is used to match Kokkos runs.
# The "comm/sort" and "twopass" options should not be used for production runs.
################################################################################
seed 12345
dimension 2
global gridcut 0.0 comm/sort yes
boundary o ar p
create_box -2.5 2.5 0.0 2.5 -0.5 0.5
create_grid 100 100 1
balance_grid rcb cell
global nrho 1.e20 fnum 1.e17 weight cell radius
species air.species N2
mixture air N2 vstream 3472.0 0.0 0.0 temp 300.0
fix in emit/face air xlo twopass
collide vss air air.vss
read_surf data.hcircle origin 5 5 0 &
trans -5 -5 0 scale 0.05 0.05 1 clip
surf_collide 1 specular
surf_modify all collide 1
compute 1 grid all species n u v w usq vsq wsq
compute 2 surf all species n nwt mflux fx fy fz press ke
fix 1 ave/grid all 1 100 100 c_1[*]
fix 2 ave/surf all 1 100 100 c_2[*]
#dump 1 grid all 100 b_flow.* id f_1[*]
#dump 2 surf all 100 b_surf.* id f_2[*]
timestep 1e-6
stats 100
stats_style step f_1[2]
run 1000
|