|
[Sponsors] |
fatal error: createAlphaFluxes.H: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2019, 01:56 |
fatal error: createAlphaFluxes.H: No such file or directory
|
#1 |
New Member
@moon
Join Date: Apr 2019
Posts: 8
Rep Power: 7 |
Hi everyone
Iam trying to edit the compressibleInterfoam (Multiphase) solver to add time dependent acceleration to my case. On executing wmake i get the following error "fatal error: createAlphaFluxes.H: No such file or directory" In order to check if the error is due to the editing done to the .c file, I tried compiling the compressibleInterFoam solver by changing its name to compressibleInterFoam_trial. I still get the same error. Can someone help me in this regard. Any inputs are highly apreciated. Thank You |
|
April 29, 2019, 02:29 |
|
#2 |
Senior Member
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 211
Rep Power: 16 |
well, the error message says it can't find the file, so that is the issue. Even though you can see the file, it doesn't mean the compiler can (it needs to be told where it is).
So the first thing you need to do is to locate the createAlphaFluxes.H file. I assume it is not inside your workfolder (the one containing your actual *.C file(s) and the Make folder, the compiler searches here by default). Once you have the file located there are two options: The easy one is to simply copy the file into your workfolder so the compiler can find it here (this is, however, not good programming practice), the second option (and preferred one) is to include the path to the file during compilation. For that you have to add the folder location to your EXE_INC variable in the options file within the Make folder, which might look something like Code:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude Code:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(FOAM_APP)/solvers/multiphase/VoF |
|
April 29, 2019, 08:55 |
|
#3 |
New Member
@moon
Join Date: Apr 2019
Posts: 8
Rep Power: 7 |
Hello t.teschner
Thanks for the detailed description. The modified solver seems to work fine Thank you |
|
Tags |
compilation error, wmake error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |