|
[Sponsors] |
scalarSemiImplicitSource with time-varying values |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Feb 2016
Posts: 23
Rep Power: 10 ![]() |
Dear all,
I'm trying to inject some tracer material into my simulation using the scalarSemiImplicitSource (in conjunction with a scalarTransport function object). All examples usually inject a fixed amount x for a fixed time t. I want to specify time-varying injection values now. So I am looking for a way to get my values into the scalarSemiImplicitSource (e.g. one value per second). Is there such a way? Or do I have to use the codedSource? (if I have to use the codedSource: How would I implement such a table there?) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27 ![]() |
Hi,
You should be able to define a table, the syntax might change depending of the OpenFOAM version you are using.
Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Feb 2016
Posts: 23
Rep Power: 10 ![]() |
Oh, that was easy. Should have read the header of the source completely! Thanks for pointing out the solution
![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
christopher
Join Date: Apr 2017
Posts: 4
Rep Power: 9 ![]() |
Could you post your solution ? I am having a hard time with a similar problem.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 04:13 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 02:05 |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 22:29 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |