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

clarification about constant heat flux boundary condition at wall in fluid region

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2014, 14:48
Default clarification about constant heat flux boundary condition at wall in fluid region
  #1
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12
baran_foam is on a distinguished road
Greeting all,

I have some silly doubt....regarding postprocessing utility wallHeatFlux...it was unable to read my bc at wall of const heat flux in fluid region and it read it as zero....

https://www.dropbox.com/s/1k095xfi7e...subir.zip?dl=0

I am using this command...
wallHeatFlux -region cavityAir
wallHeatFlux -region cavityAir -time 4000

Can anyone kindly specify me that what is the problem here...about constant heat flux at wall bc..?

regards,
baran

Last edited by baran_foam; September 28, 2014 at 15:03. Reason: link is broken
baran_foam is offline   Reply With Quote

Old   September 28, 2014, 15:27
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Baran,

Thanks for posting this question here in the public forum, since this question can help others in the future.

I took a somewhat quick look at this case and there is something strange I saw: the wall patches "w_he_*" in the region "cavityAir" are defined as boxes. In other words, each one of these patches is defined with 6 sides, making it a closed surface. in theory, this shouldn't be much of a problem, but it could lead to one of those situations where it cancels each other out.

Now, I took a better look at the boundary conditions and in the file "0/cavityAir/T" is this:
Code:
    w_he_4
    {
        type            compressible::turbulentHeatFluxTemperature;
        heatSource      power;
        q               uniform 110.4;
        K               basicThermo;
        KName           none;
        Qr              none;
        value           uniform 300;
    }
while in "alphat" on the same folder:
Code:
    w_he_4
    {
        type            alphatWallFunction;
        Prt             0.85;
        value           uniform 0;
    }
If we look at the iteration/time 4000, the "alphat" field didn't change for these walls. And the equation calculated in wallHeatFlux is this:
Code:
        surfaceScalarField heatFlux
        (
            fvc::interpolate(RASModel->alphaEff())*fvc::snGrad(h)
        );
But since "alphat" is still zero at the iteration/time 4000, then the result is also zero.

Of course now the question is: why is "alphat" zero on these walls?

Honestly, I don't know. My guess is that it might have something to do with the fact that you grouped the 6 surfaces into 1 on all of the 4 groups of walls "w_he_*".


My advice is what I usually tell people: first test with a simpler case. For example: http://openfoamwiki.net/index.php/Ge..._-_planeWall2D
Otherwise, there are too many possibilities for things that could go wrong.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 14, 2014, 06:37
Default
  #3
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12
baran_foam is on a distinguished road
Greeting all,
@bruno ,Thanks for your suggestion... i am trying to use the utility of wallHeatFlux for single wall ...but still it is showing zero value for constant heat flux boundary condition.....

Regards,
baran
baran_foam is offline   Reply With Quote

Old   October 18, 2014, 16:31
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Baran,

I simply don't know why this is happening. A few questions:
  1. What does the "alphat" field have for each one of those single walls for the iteration 4000?
  2. Did you try to create a simpler case that can more easily be diagnosed?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 28, 2014, 06:40
Default
  #5
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12
baran_foam is on a distinguished road
Hello Bruno,
I check tutorial case having simple geometry. It shows the heatFlux boundary condtion as zero value with one face only.
Another thing is that it is for laminar case...so may be alphat is not there...
So I am trying to check this case with turbulece model....
here alphat is in order of 10^-5 value ...heat flux is giving zero value...

Regards,
baran

Last edited by baran_foam; October 28, 2014 at 07:11. Reason: modify
baran_foam is offline   Reply With Quote

Old   November 26, 2016, 18:57
Default
  #6
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Hi

could you find how to put heatflux as Bc?
dewey is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Constant Heat Flux Boundary Condition on Long Thin Pipe CGramlich SU2 3 April 22, 2013 09:25
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
No results for solid domain Gary Holland CFX 10 March 13, 2009 04:30


All times are GMT -4. The time now is 23:30.