momentumLookupTableInjection这个粒子注入模型一直无法正确注入到相应的位置
-
设置下来有时候会出现只在一个点注入,有时候会有一个位置不注入,诸如此类的情况发生。我在https://ss1.xrea.com/penguinitis.g1.xrea.com/study/OpenFOAM/injection.html这个链接的教程里看到说要设置时间步长为parcelsPerSecond的倒数,但还是出现有位置不注入的情况,想问问有没有遇到相同情况的伙伴,请教一下该如何解决。
model1 { type momentumLookupTableInjection; inputFile "injectionTable"; parcelBasisType fixed; nParticle 1; parcelsPerSecond 200; randomise off; massTotal 0; SOI 116; duration 1; }
injectTable文件:
FoamFile { version 10; format ascii; class dictionary; location "constant"; object injectionTable; } // (x y z) (u v w) d rho mDot ( (0 0 0) (0 0 0) 1e-3 9341.88 1e-7 (0.5 0.01 0) (0 0 0) 1e-3 9341.88 1e-7 (-0.5 0.01 0) (0 0 0) 1e-3 9341.88 1e-7 (-0.1 -0.01 0) (0 0 0) 1e-3 9341.88 1e-7 (-0.4 -0.02 0) (0 0 0) 1e-3 9341.88 1e-7 (-0.6 -0.02 0) (0 0 0) 1e-3 9341.88 1e-7 (-0.8 -0.05 0) (0 0 0) 1e-3 9341.88 1e-7 (0.7 0.04 0) (0 0 0) 1e-3 9341.88 1e-7 );