请教关于OpenFOAM中的浸入边界法IBM,移动边界的可视化问题
-
@五好青年 我看了下 在extended的controldict里面有两个interval
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application icoDyMFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 5; deltaT 0.01; writeControl runTime; writeInterval 0.2; // writeControl timeStep; // writeInterval 1; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression compressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep no; maxCo 0.2; libs ( "liblduSolvers.so" "libimmersedBoundary.so" "libimmersedBoundaryDynamicFvMesh.so" ); functions ( forces { type immersedBoundaryForces; functionObjectLibs ("libimmersedBoundaryForceFunctionObject.so"); outputControl timeStep; outputInterval 1; patches ( ibCylinder ); pName p; UName U; rhoName rhoInf; rhoInf 1; log true; CofR ( 0 0 0 ); Aref 0.05; Uref 1; } ); // ************************************************************************* //
你把这里屏蔽的换下换成timeStep的
//writeControl runTime; //writeInterval 0.2; /writeControl timeStep; /writeInterval 1;
下面固体的输出依旧默认1
outputControl timeStep; outputInterval 1; patches ( ibCylinder );