新建求解器编译错误
-
collect2.exe:error:ld returned 1 exit status ```)
-
基于reactingTwoPhaseEulerFoam编写的,在这个求解器里面有个twoPhaseSystem文件夹,没有动这个文件夹,只是添加了气固异相反应源项,运行Allwmake以后,出现这个错误
-
-
我遇到过类似的问题但不确定是否一样,你可以试一下Make/files中加一个'USER'
EXE = $(FOAM_USER_APPBIN)/
-
Selecting thermodynamics package { type heRhoThermo; mixture multiComponentMixture; transport const; thermo hRefConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::DimensionedField<double, Foam::volMesh>::operator/=(Foam::DimensionedField<double, Foam::volMesh> const&) at ??:? #4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::operator/=(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #5 Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hRefConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > >::correctMassFractions() at ??:? #6 Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hRefConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > >::multiComponentMixture(Foam::dictionary const&, Foam::fvMesh const&, Foam::word const&) at ??:? #7 Foam::heThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hRefConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::heThermo(Foam::fvMesh const&, Foam::word const&) at ??:? #8 Foam::rhoReactionThermo::addfvMeshConstructorToTable<Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hRefConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:? #9 Foam::autoPtr<Foam::rhoReactionThermo> Foam::basicThermo::New<Foam::rhoReactionThermo>(Foam::fvMesh const&, Foam::word const&) at ??:? #10 Foam::rhoReactionThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:? #11 Foam::ThermoPhaseModel<Foam::phaseModel, Foam::rhoReactionThermo>::ThermoPhaseModel(Foam::phaseSystem const&, Foam::word const&, int) at ??:? #12 Foam::MovingPhaseModel<Foam::ThermoPhaseModel<Foam::phaseModel, Foam::rhoReactionThermo> >::MovingPhaseModel(Foam::phaseSystem const&, Foam::word const&, int) at ??:? #13 Foam::MultiComponentPhaseModel<Foam::InertPhaseModel<Foam::MovingPhaseModel<Foam::ThermoPhaseModel<Foam::phaseModel, Foam::rhoReactionThermo> > > >::MultiComponentPhaseModel(Foam::phaseSystem const&, Foam::word const&, int) at ??:? #14 Foam::phaseModel::addphaseSystemConstructorToTable<Foam::AnisothermalPhaseModel<Foam::MultiComponentPhaseModel<Foam::InertPhaseModel<Foam::MovingPhaseModel<Foam::ThermoPhaseModel<Foam::phaseModel, Foam::rhoReactionThermo> > > > > >::New(Foam::phaseSystem const&, Foam::word const&, int) at ??:? #15 Foam::phaseModel::New(Foam::phaseSystem const&, Foam::word const&, int) at ??:? #16 void Foam::PtrList<Foam::phaseModel>::read<Foam::phaseModel::iNew>(Foam::Istream&, Foam::phaseModel::iNew const&) at ??:? #17 Foam::phaseSystem::phaseSystem(Foam::fvMesh const&) at ??:? #18 Foam::twoPhaseSystem::twoPhaseSystem(Foam::fvMesh const&) at ??:? #19 Foam::MomentumTransferPhaseSystem<Foam::twoPhaseSystem>::MomentumTransferPhaseSystem(Foam::fvMesh const&) at ??:? #20 Foam::TwoResistanceHeatTransferPhaseSystem<Foam::MomentumTransferPhaseSystem<Foam::twoPhaseSystem> >::TwoResistanceHeatTransferPhaseSystem(Foam::fvMesh const&) at ??:? #21 Foam::PhaseTransferPhaseSystem<Foam::TwoResistanceHeatTransferPhaseSystem<Foam::MomentumTransferPhaseSystem<Foam::twoPhaseSystem> > >::PhaseTransferPhaseSystem(Foam::fvMesh const&) at ??:? #22 Foam::ThermalPhaseChangePhaseSystem<Foam::PhaseTransferPhaseSystem<Foam::TwoResistanceHeatTransferPhaseSystem<Foam::MomentumTransferPhaseSystem<Foam::twoPhaseSystem> > > >::ThermalPhaseChangePhaseSystem(Foam::fvMesh const&) at ??:? #23 Foam::twoPhaseSystem::adddictionaryConstructorToTable<Foam::ThermalPhaseChangePhaseSystem<Foam::PhaseTransferPhaseSystem<Foam::TwoResistanceHeatTransferPhaseSystem<Foam::MomentumTransferPhaseSystem<Foam::twoPhaseSystem> > > > >::New(Foam::fvMesh const&) at ??:? #24 Foam::twoPhaseSystem::New(Foam::fvMesh const&) at ??:? #25 ? in "/home/dyfluid/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/bin/myFoam" #26 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #27 ? in "/home/dyfluid/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/bin/myFoam" Floating point exception (core dumped)
2020年4月11日 17:06
3/7
2020年4月12日 16:46