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:
@ -2,6 +2,6 @@
|
||||
set(source_files
|
||||
iterateGeometry.C
|
||||
)
|
||||
set(link_lib phasicFlow Geometry MotionModel Kokkos::kokkos)
|
||||
set(link_lib phasicFlow Geometry MotionModel Kokkos::kokkos Utilities)
|
||||
|
||||
pFlow_make_executable_install(iterateGeometry source_files link_lib)
|
||||
|
@ -20,12 +20,28 @@ Licence:
|
||||
|
||||
#include "systemControl.H"
|
||||
#include "geometryMotion.H"
|
||||
#include "commandLine.H"
|
||||
#include "readControlDict.H"
|
||||
|
||||
|
||||
using pFlow::commandLine;
|
||||
|
||||
int main( int argc, char* argv[] )
|
||||
{
|
||||
|
||||
commandLine cmds(
|
||||
"iterateGeometry",
|
||||
"Performs simulation without particles, only geometry is solved");
|
||||
|
||||
|
||||
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