CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

time-varying internalField

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2013, 03:45
Default time-varying internalField
  #1
Member
 
Klio
Join Date: Mar 2012
Location: Austria
Posts: 45
Rep Power: 5
klio is on a distinguished road
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
klio is offline   Reply With Quote

Old   February 10, 2013, 07:24
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by klio View Post
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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 19, 2013, 04:28
Default
  #3
Member
 
Klio
Join Date: Mar 2012
Location: Austria
Posts: 45
Rep Power: 5
klio is on a distinguished road
Ok thank you!

I'll take a look on it!
klio is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44
Problem with FloatingObject Leech OpenFOAM Running, Solving & CFD 10 March 29, 2012 15:24
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
time varying boundary condition cfd-student CFX 0 April 15, 2008 08:31
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 18:40.