Hi,
When I try to run FieldOpt using Flow simulator, I always encounter the following error,
"
Output deck directory not found. Copying input deck:/../FieldOpt/examples/Flow/5spot -> ../FieldOpt/examples/Flow/5spot/output_result/fo_driver_2vert_controls/5spot
"
This is the bash file I used:
export FIELDOPT_BUILD=../FieldOpt/FieldOpt/build/bin
export FIELDOPT_BIN=../FieldOpt/FieldOpt/build/bin/FieldOpt
export FIELDOPT_OUT=../FieldOpt/examples/Flow/5spot
declare -a CASES=(
"fo_driver_2vert_controls"
)
Set case and path variables
CASE_IDX=$(expr $1 - 1)
CASE=${CASES[$CASE_IDX]}
CURRENT_DIR=$(pwd)
DRIVER_PATH=${CURRENT_DIR}/${CASE}.json
OUTPUT_DIR=${FIELDOPT_OUT}/output_result/${CASE}
DECK_PATH=${CURRENT_DIR}/5SPOT.DATA
GRID_PATH=${CURRENT_DIR}/5SPOT.EGRID
SCR_PATH=${FIELDOPT_BUILD}/execution_scripts/bash_flow.sh
Delete and re-create ouput subdirectory
mkdir -p ${OUTPUT_DIR}
echo "Output: " ${OUTPUT_DIR}
echo "Driver: " ${DRIVER_PATH}
echo "Deck: " ${DECK_PATH}
echo "Grid: " ${GRID_PATH}
${FIELDOPT_BIN} ${DRIVER_PATH} ${OUTPUT_DIR} -r serial -v3 -g ${GRID_PATH} -s ${DECK_PATH} -e ${SCR_PATH}
Thanks advance for your help. By the way, do I need to set the output path for the Flow simulator?
best regard
Cong Xiao
Hi,
"
Output deck directory not found. Copying input deck:/../FieldOpt/examples/Flow/5spot -> ../FieldOpt/examples/Flow/5spot/output_result/fo_driver_2vert_controls/5spot
"
This is the bash file I used:
export FIELDOPT_BUILD=../FieldOpt/FieldOpt/build/bin
export FIELDOPT_BIN=../FieldOpt/FieldOpt/build/bin/FieldOpt
export FIELDOPT_OUT=../FieldOpt/examples/Flow/5spot
declare -a CASES=(
"fo_driver_2vert_controls"
)
Set case and path variables
CASE_IDX=$(expr $1 - 1)
CASE=${CASES[$CASE_IDX]}
CURRENT_DIR=$(pwd)
DRIVER_PATH=${CURRENT_DIR}/${CASE}.json
OUTPUT_DIR=${FIELDOPT_OUT}/output_result/${CASE}
DECK_PATH=${CURRENT_DIR}/5SPOT.DATA
GRID_PATH=${CURRENT_DIR}/5SPOT.EGRID
SCR_PATH=${FIELDOPT_BUILD}/execution_scripts/bash_flow.sh
Delete and re-create ouput subdirectory
mkdir -p ${OUTPUT_DIR}
echo "Output: " ${OUTPUT_DIR}
echo "Driver: " ${DRIVER_PATH}
echo "Deck: " ${DECK_PATH}
echo "Grid: " ${GRID_PATH}
${FIELDOPT_BIN} ${DRIVER_PATH} ${OUTPUT_DIR} -r serial -v3 -g ${GRID_PATH} -s ${DECK_PATH} -e ${SCR_PATH}
Thanks advance for your help. By the way, do I need to set the output path for the Flow simulator?
best regard
Cong Xiao