Skip to content

Changed the term of LiquidFlow for time unit scaling factor - #113

Merged
wenqing merged 4 commits into
ufz:masterfrom
wenqing:fixing
Nov 1, 2018
Merged

wenqing merged 4 commits into
ufz:masterfrom
wenqing:fixing

Conversation

@wenqing

@wenqing wenqing commented Oct 29, 2018

Copy link
Copy Markdown
Member

For LiquidFlow, this PR moves the time unit scaling factor from the mass term to the Jacobian term. With this change, the time unit in the source term of LiquidFlow has to be consistency with the time unit defined in tim file. Accordingly, the NeumannBC value of one benchmark was changed (ufz/ogs5-benchmarks#19).

This PR also fixes the fluid property output and a compilation warning.

@nbeyond

nbeyond commented Oct 30, 2018

Copy link
Copy Markdown

This sounds interesting and the corresponding benchmark looks interesting too. Would this fix make Neumann boundary conditions to work if defined CONSTANT_NEUMANN in .st files not in .bc with consistent $TIME_UNIT?

@wenqing

wenqing commented Oct 30, 2018

Copy link
Copy Markdown
Member Author

@nbeyond This is only for LiquidFlow, which is only process that the time unit factor is applied to the mass term. The changes only influence the Neumann condition of source term of LiquidFlow. Without this change, the time unit in Neumann condition of source term of LiquidFlow is always "s" for whichever time unit is defined in tim file.

@norihiro-w

Copy link
Copy Markdown
Contributor

it looks good for me

@wenqing
wenqing merged commit 9f957a3 into ufz:master Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants