mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
first modifications for coupling
This commit is contained in:
@ -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)
|
||||
|
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user