|
[Sponsors] |
June 17, 2019, 05:31 |
Openfoam BC error
|
#1 |
New Member
chunliang
Join Date: Jul 2018
Posts: 2
Rep Power: 0 |
When I used my own written boundary conditions for calculations, I had a strange error. Could someone help me?
Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PISO: Operating solver in PISO mode Reading transportProperties Reading field p Reading field U Reading field C Reading/calculating face flux field phi Starting time loop Time = 5e-05 Courant Number mean: 7.5e-05 max: 0.194817 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 2.38974e-06, No Iterations 8 smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 #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::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #4 Foam::operator/(Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #5 Foam::newFvPatchScalarField::updateCoeffs() at ??:? #6 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:? #7 Foam::fv::gaussLaplacianScheme<double, Foam::SymmTensor<double> >::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #8 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #9 ? at ??:? #10 ? at ??:? #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #12 ? at ??:? |
|
June 17, 2019, 08:13 |
|
#2 |
New Member
Join Date: Aug 2016
Posts: 19
Rep Power: 10 |
This line:
Code:
#1 Foam::sigFpe::sigHandler(int) at ??:? This line: Code:
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? |
|
June 18, 2019, 06:59 |
another question
|
#3 |
New Member
chunliang
Join Date: Jul 2018
Posts: 2
Rep Power: 0 |
thanks for your help. Today, i meet another problem
Code:
myicoFoam: symbol lookup error: /home/a/OpenFOAM/a-5.x/platforms/linux64GccDPInt32Opt/lib/libnewFvPatchScalarField.so: undefined symbol: _ZN4Foam21newFvPatchScalarFieldC1ERKNS_7fvPatchERKNS_16DimensionedFieldIdNS_7volMeshEEERKNS_10dictionaryE |
|
June 18, 2019, 08:26 |
|
#4 |
New Member
Join Date: Aug 2016
Posts: 19
Rep Power: 10 |
Undefined symbol means that there is a type which is not defined. I see you have developed your own solver myicoFoam and your own library for a BC called newFvPatchScalarField. As the lib is being picked up during compiling but some symbol is unknown I suspect that maybe the header file is not being picked up. It is hard to tell without seeing your Make/files and Make/options files.
|
|
Tags |
boundary condition error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 07:25 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |