View Issue Details

IDProjectCategoryView StatusLast Update
0003467OpenFOAMContributionpublic2020-03-17 20:28
ReporterTom van den BrinkAssigned Tohenry 
Status closedResolutionno change required 
Product Versiondev 
Fixed in Version 
Summary0003467: Addition of viscoelasticFluidFoam solver
DescriptionHello everyone,

For a project I needed viscoelasticFluidFoam to work so I patched it from ext4.1 to the current dev tree. All seems to be working fine so far and I can run solutions on it now.
Corrected the solver, transportmodels and all tutorials (except 1 blockmesh that i still have to work on) to properly compile and run without errors in dev.

Info can be found in my github with the development branch.

I would like to do a pull request in the end when I've updated master and finished a succesfull branch merge but would like feedback before I do so.

Also a question about what to do with the headers in the files and how to attribute the work to the original authors?

Additional Information
TagsNo tags attached.



2020-03-17 12:03

manager   ~0011251

Last edited: 2020-03-17 12:03

View 2 revisions

Viscoelasticity in OpenFOAM does not need a special solver, it is handled within the TurbulenceModels framework as a special laminar sub-set so that it can be used in any single-phase, multiphase, incompressible or compressible solver. Currently Maxwell, Giesekus and PTT models are supported in both single mode and multi-mode operation and other models can easily be added.

See tutorials:

Tom van den Brink

2020-03-17 15:51

reporter   ~0011252

Dear Henry,

thank you for pointing this out. Sorry I hadn't noticed this improvement was there already. In any case it was an interesting exercise in C++ debugging.
I will first compare the results to see if they are identical and then try implementing some other models.
Would that be of interest to contribute in the end?


2020-03-17 16:19

manager   ~0011253

Which other models are needed for which fluids?


2020-03-17 20:28

manager   ~0011254

Viscoelasticity is already supported in a more general manner in OpenFOAM.

Issue History

Date Modified Username Field Change
2020-03-17 11:52 Tom van den Brink New Issue
2020-03-17 12:03 henry Note Added: 0011251
2020-03-17 12:03 henry Note Edited: 0011251 View Revisions
2020-03-17 15:51 Tom van den Brink Note Added: 0011252
2020-03-17 16:19 henry Note Added: 0011253
2020-03-17 20:28 henry Assigned To => henry
2020-03-17 20:28 henry Status new => closed
2020-03-17 20:28 henry Resolution open => no change required
2020-03-17 20:28 henry Note Added: 0011254