|
[Sponsors] |
August 15, 2016, 12:06 |
funkydoCalc issue with snGrad
|
#1 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Hello
I have n issue with snGrad usage with funkydocalc. With swak4foam I gave : Code:
functions( NusseltNumber_hot { type patchExpression; outputControl timeStep; outputInterval 1; patches ( w_l ); verbose true; variables ( "Tsat=300.1;" "ln2D=3.065;" //length(.08)/k(.0261) ); expression "ln2D*snGrad(T)/(T-Tsat)"; accumulations ( average ); } ); This gave me a Nusselt No. of 56.02 (neglect scaling) . With all data in disk I tried to obtian the same using funkyDoCalc as: Code:
NusseltNumber_hot { valueType patch; patchName w_l; variables ( "Tsat=300.1;" "ln2D=3.065;" //length(.08)/k(.0261) ); expression "ln2D*snGrad(T)/(T-Tsat)"; accumulations ( max ); } Which is giving me 0 as output for max/min/average I read in: https://sourceforge.net/p/openfoam-e...2.1_v2.x/tree/ that the snGrad doesnt work when data is in disc and needs to be temporarily loaded. Could anyone explain on what to be done
__________________
Regards Manu Last edited by wyldckat; January 1, 2018 at 20:47. Reason: Added [CODE][/CODE] markers |
|
January 1, 2018, 20:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer, although really late by now: according to the information you've found, you must use this while the solver is running and cannot use it with funkyDoCalc.
__________________
|
|
January 2, 2018, 12:00 |
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Yep. Reason is that for such calculations to work correctly funkyDoCalc would have to call correctBoundaryConditions() on loaded fields. And that has the strong potential to crash if a boundary condition needs another field in memory and doesn't find it.
__________________
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prism Layer - Core Mesh Boundary Issue | InfernoxCJC | STAR-CCM+ | 7 | November 21, 2017 16:46 |
Convergence issue in natural convection problem | chrisf90 | FLUENT | 5 | March 5, 2016 09:30 |
Strange issue while launching ANSYS workbench in CentOS 6.4 | Philip_C | ANSYS | 11 | August 29, 2013 07:44 |
CyclicAMI Issue In OpenFOAM 2.2.0 | prasant | OpenFOAM Running, Solving & CFD | 17 | March 16, 2013 03:00 |
Meshing related issue in Flow EFD | appu | FloEFD, FloWorks & FloTHERM | 1 | May 22, 2011 09:27 |