Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
farzadmech88 opened this issue Feb 11, 2023 · 1 comment

Comments

@farzadmech88
Copy link

farzadmech88 commented Feb 11, 2023

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

@GuillaumeBroggi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants