|
[Sponsors] | |||||
using vectors to set Su and Sp in fvOptions semiImplicitSources |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
olivier atteia
Join Date: Feb 2021
Posts: 1
Rep Power: 0 ![]() |
Hello,
I am using openFoam to solve very simple flow in porous medium, which works. However as it is for groundwater application, for river interactions, I need to set semiImplicitsource at different cells in the domain, this is why I use the semiImplicitsource, which works well for setting one scalar value for Su and one for Sp. However in my problem these values vary in space and I may need hundreds of them. This is why I don't want to set hundreds of cellSets, but apply a vector of vlaues fo Su and Sp to the cellSet (the vector length being th eone of cellSet). Is it feasible? sincerely Olivier pSource { type scalarSemiImplicitSource; active true; selectionMode cellSet; cellSet c0; volumeMode absolute; injectionRateSuSp {p (-0.08 5.e-4);} } |
|
|
|
|
|
![]() |
| Tags |
| fvoptions |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|