PHREEQC-BASIC

update_sfwater(<flt::porosity>[,<int:node_number>])

MY-BASIC

update_sfwater(<flt::porosity>[,<int:node_number>])



It calculates the scaling factor for the water content using the porosity and the reference residual and saturated water content of the corresponding node and changes the values of the corresponding node.

If node_number is defined, the value for that specific node is changed, otherwise it is given for the current node.


The function is only useful during initial or transport calculations.



Return value: -



Arguments


porosity

flt: porosity

node_number

[optional] flt: integer indicating the node number for which the scaling factor for the water content is changed. If it is not defined, the current node during the transport calculations is used.

When running HPx in multi-threading mode, information in other nodes than the current node might not be updated correctly.




Examples

How to

Change transport properties - Porosity (scaling factor of water content)