PFEM Test

From OpenSeesWiki
Jump to navigation Jump to search

< Back


test( 'PFEM', tolv, tolp, tolrv, tolrp, tolvrel, tolprel, maxIter[, maxIncr][, printFlag][, normType])

create a PFEM test object.


Parameters: * tolv, tolp (float) - The tolerance for absolute values of velocity and pressure.
* tolrv, tolrp (float) - The tolerance for residual of velocity and pressure equations.
* tolvrel, tolrprel (float) - The tolerance for relative values of velocity and pressure.
* maxIter (int) – The maximum number of interations.
* maxIncr (int) – the maximum number of that errors increase.
* printFlag (int) – Flag for printing messages (default is 0 – print nothing).
* normType (int) – which norm is used (default is 2).
Returns:
Return Type:

None

Example:

test('PFEM', 1e-6, 1e-6, 1e-6, 1e-6, 1e-15, 1e-15, 10, 3, 1, 2)