first modifications for coupling

This commit is contained in:
hamidrezanorouzi
2022-12-03 12:12:56 +03:30
parent 14ef70bfdf
commit 2b514d0302
31 changed files with 701 additions and 47 deletions

View File

@ -7,6 +7,6 @@ stlWall/stlWall.C
cylinderWall/cylinderWall.C
cuboidWall/cuboidWall.C
)
set(link_lib phasicFlow Geometry Kokkos::kokkos)
set(link_lib phasicFlow Geometry Kokkos::kokkos Utilities)
pFlow_make_executable_install(geometryPhasicFlow source_files link_lib)

View File

@ -23,6 +23,8 @@ Licence:
#include "Wall.H"
#include "multiTriSurface.H"
#include "geometryMotion.H"
#include "commandLine.H"
#include "readControlDict.H"
using pFlow::output;
using pFlow::endl;
@ -33,10 +35,25 @@ using pFlow::wordVector;
using pFlow::Wall;
using pFlow::geometry;
using pFlow::multiTriSurface;
using pFlow::commandLine;
int main( int argc, char* argv[] )
{
commandLine cmds(
"geometryPhasicFlow",
"Converts the supplied informaiton for sufraces in"
" geometryDict into PhasicFlow geometry data structure");
bool isCoupling = false;
cmds.add_flag(
"-c,--coupling",
isCoupling,
"Is this a fluid-particle coupling simulation?");
if(!cmds.parse(argc, argv)) return 0;
// this should be palced in each main
#include "initialize_Control.H"