Merge lp:~s-parkinson11/fluidity/DG_BR_PartialStressForm into lp:fluidity

Proposed by Samuel Parkinson
Status: Merged
Merged at revision: 4219
Proposed branch: lp:~s-parkinson11/fluidity/DG_BR_PartialStressForm
Merge into: lp:fluidity
Diff against target: 0 lines
To merge this branch: bzr merge lp:~s-parkinson11/fluidity/DG_BR_PartialStressForm
Reviewer Review Type Date Requested Status
Stephan Kramer Approve
Review via email: mp+165029@code.launchpad.net

Description of the change

Added a simple implementation for the partial stress form in DG using the bassi-rebay formulation. This only works for isotropic viscosities.

To post a comment you must log in.
Revision history for this message
Samuel Parkinson (s-parkinson11) wrote :

This hasn't gone through buildbot yet. I will post on here when it passes.

Revision history for this message
Tim Greaves (tim-greaves) wrote :
Revision history for this message
Samuel Parkinson (s-parkinson11) wrote :

now green on buildbot

4220. By Samuel Parkinson

changes following review

4221. By Samuel Parkinson

fixes to manual entry

4222. By Samuel Parkinson

fix memory allocation routine to match new schema and tidy up test

Revision history for this message
Samuel Parkinson (s-parkinson11) wrote :

Stephan,

I think I have addressed all of the issues we looked at:
1) change how partial_stress logical is initialised
2) add some more comments in the bassi-rebay assemble routine to describe what the A matrix is and about the assumption of isotropic viscosity
3) add options checking to ensure bassi-rebay is selected when using partial stress
4) change schema to be consistent with CG

Is this ready to go now?

Revision history for this message
Stephan Kramer (s-kramer) wrote :

Looks great. I think you still need to do a 'update_options' after your schema change. Which brings me to one last question what happens if people run a not-updated .flml without viscosity_scheme/tensor_form? Does it default to tensor_form indeed?

review: Approve
Revision history for this message
Samuel Parkinson (s-parkinson11) wrote :

Yes I did need to run update_options, good spot. Buildbot failed on diamond validation.

Default is tensor form. I have updated the flml in tests, examples, and longtests, I will run it through buildbot and then merge.

Thanks for the review. I'll get on to looking at yours now.

4223. By Samuel Parkinson

fix flml files for diamond validation

4224. By Samuel Parkinson

merge with trunk

Preview Diff

Empty