CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

using vectors to set Su and Sp in fvOptions semiImplicitSources

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2021, 04:00
Default using vectors to set Su and Sp in fvOptions semiImplicitSources
  #1
New Member
 
olivier atteia
Join Date: Feb 2021
Posts: 1
Rep Power: 0
oatteia is on a distinguished road
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);}
}
oatteia is offline   Reply With Quote

Reply

Tags
fvoptions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:10.