CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

New Solver for a modified pUCoupledFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2016, 06:14
Default New Solver for a modified pUCoupledFoam
  #1
New Member
 
Nelly El Achkar
Join Date: May 2016
Location: Germany
Posts: 10
Rep Power: 3
noiseMaker is on a distinguished road
Hello ,

As part of my master thesis I am suppose to modify pUCoupledFoam in a way so that the matrix can be solved with an LU-SGS solver. However, when I try to run a case (pitzDaily) with what I have done (modified pUCoupledFoam where the matrix is solver by myDummy, the LU-SGS solver), I always get this error:

--> FOAM FATAL IO ERROR:
Unknown asymmetric matrix solver myDummy


"Valid asymmetric matrix solvers are :

4
(
AMG
BiCGStab
GMRES
GaussSeidel
)


file: /home/nelly/Desktop/pitzDaily/system/fvSolution::solvers::Up from line 21 to line 28.

From function BlockLduSolver<Type>::New
(
const word& solverName,
const word& fieldName,
BlockLduMatrix<Type>& matrix,
const dictionary& dict
)
in file /opt/foam/foam-extend-3.2/src/foam/lnInclude/BlockLduSolver.C at line 245.
"



even though the source file reads:
namespace Foam
{
#define makeSolver(type, Type, args...) \
typedef myDummySolver<type> block##Type##myDummySolver; \
makeBlockSolverTypeName(block##Type##myDummy); \
addSolverToBlockMatrix(Type, block##Type##myDummySolver, symMatrix); \
addSolverToBlockMatrix(Type, block##Type##myDummySolver, asymMatrix); \

// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

makeBlockSolvers(myDummy);

// BiCGStab as a symmetric solver: use where the diagonal coefficient block
// is assymetric. HJ, 24/Jan/2008

addSymSolverToBlockMatrix(myDummy);

addAsymSolverToBlockMatrix(myDummy);

//-makeBlockSolvers(blockAmgSolver);
//+// Excluded tensor: needs reduced version. HJ, 28/May/2014


makeBlockSolverTypeName(myDummyScalar);
makeBlockSolverTypeName(myDummyVector);

addSolverToBlockMatrix(Scalar, myDummyScalar, symMatrix);
addSolverToBlockMatrix(Vector, myDummyVector, symMatrix);

addSolverToBlockMatrix(Scalar, myDummyScalar, asymMatrix);
addSolverToBlockMatrix(Vector, myDummyVector, asymMatrix);




Does anybody have clue?

Thanks

Noisemaker
noiseMaker is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EMMS drag model UDF NAD Fluent UDF and Scheme Programming 26 November 19, 2017 08:49
Population Balance Modeling (PBM) - Ansys Fluent chittipo FLUENT 90 October 26, 2017 11:37
compiling error(s) in a modified twoPhaseEulerFoam solver foamer OpenFOAM 14 June 20, 2014 08:51
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 04:34.