[Radiance-general] optics2glazed and glaze script

Jack de Valpine jedev at visarc.com
Mon Dec 18 13:02:25 PST 2017


Hi Raghu,

Here is a link to a blog on use of the glaze script (originally authored 
by Greg Ward for Visarc) and  optics2glazedb (authored by me to ease 
generation of custom glazing libraries to be used by glaze).

https://modsimvis.blogspot.com/2014/12/glass-in-radiance.html

The glaze script requires a clear glass material to serve as the base 
substrate. This is why the built in library (eg running glaze without 
the -f option) has a default clear glass material. This is also why if 
you use a custom library and want to have a different clear substrate 
you must supply it as the first entry. I believe there is a check in the 
glaze script to confirm that the first glass description is in fact 
clear, that is, with the same reflectance for the front and back 
surfaces. So if the check fails then a default clear glass description 
is created.

As Charudatta noted the use of spaces and underscores in the material 
name field of the material descriptions causes problems, so the 
corrections that he suggests should do the trick.

Regards,

-Jack de Valpine


On 12/18/2017 8:13 AM, raghuram kalyanam wrote:
> Hi Everyone,
>
> I want to create glazing systems for different states of EC glass 
> (NFRC ID’s 8905,8906,8908,8909) with a coated glass 
> <https://seafile.rlp.net/f/ea7af9935f614121aaa5/?dl=1>(CARDINAL_66_0.76.rad). 
> I used optics2glazedb and glaze script to combine them. I have few 
> questions about using them.
>
>  1. I tried to add all the glasses to LLGlasses.db using below
>     command, but this doesn't add "CARDINAL_66_0.76.rad” to the db. I
>     had to add it manually, but why wouldn’t it add to the db?
>
>
> ./optics2glazedb  Clear-Float-Glass-8.rad CARDINAL_66_0.76.rad 
> SageGlass-8905.rad SageGlass-8906.rad SageGlass-8908.rad 
> SageGlass-8909.rad > LLGlasses.db
>
> 2. After creating LLGlasses.db i executed the Glaze script and created 
> glazing systems like below, only changing s2 with EC glass states and 
> keeping other surfaces constant. The 'Normal hemispherical 
> transmittance’ calculated this way (0.553) is different from Tvis( 
> 0.453) calculated using Window 
> <https://seafile.rlp.net/f/eb88794094874c8c9843/?dl=1>, for the same 
> combination of glasses (the case of 8905 and CARDINAL_66_0.76.rad, 
> shown below). The only thing extra in Window is air gap (mix of Argon 
> and air).
>
>
> Window normal faces interior
>
>   | |    | |
>   | |    | |
>   | |    | |
>   | |    | |-->
>   | |    | |
>   | |    | |
>   | |    | |
>  s1 s2  s3 s4
>
> Supported surface types are:
>    1 - Clear-Float-Glass-8
>    2 - Cardinal
>    3 - SageGlass-8905
>    4 - SageGlass-8906
>    5 - SageGlass-8908
>    6 - SageGlass-8909
>
> What is the type of s1? 1
> What is the type of s2? 3
> What is the type of s3? 2
> What is the type of s4? 1
>
> ############################################
> # Glazing produced by Radiance glaze script
> # $Revision$
> # Loaded: LLGlasses.db
> # Mon Dec 18 10:47:37 CET 2017
> # Material surface normal points to interior
> # Number of panes in system: 2
> # Exterior surface s1 type: Clear-Float-Glass-8
> # Inner surface s2 type: SageGlass-8905
> # Inner surface s3 type: Cardinal
> # Interior surface s4 type: Clear-Float-Glass-8
> # Exterior normal hemispherical reflectance: 0.160661531
> # Interior normal hemispherical reflectance: 0.129405804
> # Normal hemispherical transmittance: 0.553981928
> #
> void BRTDfunc glaze2_unnamed
> 10
> if(Rdot,cr(fr(0.060),ft(0.789),fr(0.086)),cr(fr(0.119),ft(0.666),fr(0.071)))
> if(Rdot,cr(fr(0.077),ft(0.845),fr(0.08)),cr(fr(0.12),ft(0.69),fr(0.091)))
> if(Rdot,cr(fr(0.113),ft(0.767),fr(0.058)),cr(fr(0.144),ft(0.502),fr(0.116)))
> ft(0.789)*ft(0.666)
> ft(0.845)*ft(0.69)
> ft(0.767)*ft(0.502)
> 0 0 0
> glaze2.cal
> 0
> 9
> 0 0 0
> 0 0 0
> 0 0 0
>
>
> I would like to know why they are different and which is the correct 
> visible transmittance for the glazing. I have included all the files 
> here <https://seafile.rlp.net/d/3b63eb865e8f49169d68/>.
>
> 3. Why does optics2glazedb needs first argument a clear glass? I 
> generated a db with Clear-Float-Glass-8 initially (see the Supported 
> surface types above)and then another db after removing it (see 
> below). It still generated db, but when using Glaze script, I see  a 1 
> - clear glass is generated in Supported surface types automatically. 
> In both cases (above and below) i get sameNormal hemispherical 
> transmittance. Is it ok to use any clear glass here?
>
>    1 - clear glass
>    2 - Cardinal
>    3 - SageGlass-8905
>    4 - SageGlass-8906
>    5 - SageGlass-8908
>    6 - SageGlass-8909
>
> It would be great if any one could explain this .
>
> Thanks in advance
>
> Best Regards,
> Raghu
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20171218/fbdd7a14/attachment-0001.html>


More information about the Radiance-general mailing list