CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Ship hull with appendage as seperate patch runs into error (https://www.cfd-online.com/Forums/openfoam-solving/165596-ship-hull-appendage-seperate-patch-runs-into-error.html)

manoj_nav January 21, 2016 04:24

Ship hull with appendage as seperate patch runs into error
 
2 Attachment(s)
Hi Everyone

My ship hull has an appendage below the hull. My objective is to find out wave resistance on hull and total force on the appendage.. With this in mind, I was trying to do a simulation with the hull and appendage as separate patches, so as to report the forces separately. I was trying to do a dynamic trim and sinkage simulation to account for the trim and sinakge that the hull with incur at the given speed. But when I run the simulation it gives error. I have attached the log file as well as the setup file. I have also trying running it without 6Dof utility and in serial, but I get same error.

Error:

[5] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[5] #1 Foam::sigFpe::sigHandler(int) at ??:?
[5] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #3 Foam::DICPreconditioner::calcReciprocalD(Foam::Fie ld<double>&, Foam::lduMatrix const&) at ??:?
[5] #4 Foam::DICSmoother::DICSmoother(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
[5] #5 Foam::lduMatrix::smoother::addsymMatrixConstructor ToTable<Foam::DICSmoother>::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
[5] #6 Foam::lduMatrix::smoother::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::dictionary const&) at ??:?
[5] #7 Foam::GAMGSolver::initVcycle(Foam::PtrList<Foam::F ield<double> >&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::lduMatrix::smoother>&, Foam::Field<double>&, Foam::Field<double>&) const at ??:?
[5] #8 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[5] #9 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
[5] #10 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[5] #11 Foam::fvMatrix<double>::solve() at ??:?
[5] #12 ? at ??:?
[5] #13 ? at ??:?
[5] #14 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #15 ? at ??:?


Please help me to run it correctly.

I am using Openfoam 3.0.0.

Regards,

Manoj

Artur March 13, 2016 09:12

Since the error happens before the solver executes and when solving for correctPhi I take it it's most likely due to the mesh. Can you try running checkMesh and reporting the outcome?

A


All times are GMT -4. The time now is 00:14.