OF-kva_interfaceProperties icon indicating copy to clipboard operation
OF-kva_interfaceProperties copied to clipboard

compiling OF-kva_interfaceProperties in OF4x when I use "./Allget && ./Allwmake"

Open farzadmech88 opened this issue 3 years ago • 1 comments

Dear Kevin This is cross-post both in CFD online and here; https://www.cfd-online.com/Forums/openfoam-verification-validation/124363-interfoam-validation-bubble-droplet-flows-microfluidics-3.html#post844381

I have installed OpenFoam4x in order to use your "kva_interfaceProperties", and I tested and Openfoam4x works fine. When I want to compile the, below sections works fine and generates a folder named "farzad-4.x", and I have it here; [CODE]OpenFOAM/farzad-4.x/libraries/kva_interfaceProperties[/CODE]

So your commands worked up to here;

of40
mkdir -p $FOAM_RUN/../libraries
cd $FOAM_RUN/../libraries
---------------------------------------------------
git clone https://github.com/floquation/OF-kva_interfaceProperties
mv OF-kva_interfaceProperties kva_interfaceProperties
cd kva_interfaceProperties
---------------------------------------------------
git checkout of40
---------------------------------------------------
wmake
---------------------------------------------------

Now I want to recompile my solver and as you suggested, I did this;

cd recompileSolvers 

//And I used your original suggestion;

# FULL_PATH_to_solver; optional_new_solver_name
$FOAM_SOLVERS/multiphase/interFoam; kva_interFoam
$FOAM_SOLVERS/multiphase/interFoam/interDyMFoam; kva_interDyMFoam

but here, below code does not work;

./Allget && ./Allwmake

which gives below error;

bash: ./Allget: /usr/bin/sh: bad interpreter: No such file or directory

why? and what should I do? just as a reminder, For openfoam4x I have these 3 main folders;

farzad-4.x OpenFOAM-4.x  ThirdParty-4.x

Thanks, Farzad

farzadmech88 avatar Feb 11 '23 03:02 farzadmech88

Hi Farzad,

This is likely to be a Unix related issue, like bash is not installed or not where it should be.

I can confirm that the instructions are working fine for Ubuntu 22.04 and OpenFoam 5.0.

GuillaumeBroggi avatar May 24 '23 14:05 GuillaumeBroggi