CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   time-varying internalField (https://www.cfd-online.com/Forums/openfoam-pre-processing/112934-time-varying-internalfield.html)

klio February 8, 2013 02:45

time-varying internalField
 
Hello!

I edited the chtMultiRegionFoam Solver so that it is possible to add a volumetric heat source to a region!

Now I want to implement a circuit where the heat source is switched on and off.
The problem is that the heat source entry has to be changed in the internalField because it is volumetric -> If i change the BC with timeVaryingMappedFixedValue of course it has no effects on the simulation !

Does anyone know how to fix that Problem?

Thanks! Klio

gschaider February 10, 2013 06:24

Quote:

Originally Posted by klio (Post 406662)
Hello!

I edited the chtMultiRegionFoam Solver so that it is possible to add a volumetric heat source to a region!

Now I want to implement a circuit where the heat source is switched on and off.
The problem is that the heat source entry has to be changed in the internalField because it is volumetric -> If i change the BC with timeVaryingMappedFixedValue of course it has no effects on the simulation !

Does anyone know how to fix that Problem?

Thanks! Klio

You'll have to customize the solver to include a volumetric source. Either application-specific or by adding expressionSource from swak (see discussions on that elsewhere on the forum) or adding the basicSource that is available in OF 2.1 (not aware of a recipe how to do that but its not that difficult). The last option allows a runtime-selectable subclass (and there is also a swak-implementation for that) so it is the most flexible

klio February 19, 2013 03:28

Ok thank you!

I'll take a look on it!


All times are GMT -4. The time now is 13:57.