Skip to content

Instantly share code, notes, and snippets.

@tailriver
Created June 25, 2012 10:33
Show Gist options
  • Save tailriver/2987870 to your computer and use it in GitHub Desktop.
Save tailriver/2987870 to your computer and use it in GitHub Desktop.
Schematic Graph of HSL Color Space for certain Vs on ANSYS
! Schematic Graph of HSL Color Space for certain Vs on ANSYS
!
! Requirement:
! ANSYS (FEM software)
!
! Usage:
! File > Read Input from ... [select this file]
! or
! Copy and paste to ANSYS Command Prompt
!
! You may need to select Plot > Areas after input.
/COLOR,WBAK,DGRA
/PREP7
! L=0.1
K,1, 0.1, 0.1, 0.1
K,2, 0.2, 0.0, 0.0
K,3, 0.2, 0.2, 0.0
K,4, 0.0, 0.2, 0.0
K,5, 0.0, 0.2, 0.2
K,6, 0.0, 0.0, 0.2
K,7, 0.2, 0.0, 0.2
! L=0.3
K,11, 0.3, 0.3, 0.3
K,12, 0.6, 0.0, 0.0
K,13, 0.6, 0.6, 0.0
K,14, 0.0, 0.6, 0.0
K,15, 0.0, 0.6, 0.6
K,16, 0.0, 0.0, 0.6
K,17, 0.6, 0.0, 0.6
! L=0.5
K,21, 0.5, 0.5, 0.5
K,22, 1.0, 0.0, 0.0
K,23, 1.0, 1.0, 0.0
K,24, 0.0, 1.0, 0.0
K,25, 0.0, 1.0, 1.0
K,26, 0.0, 0.0, 1.0
K,27, 1.0, 0.0, 1.0
! L=0.7
K,31, 0.7, 0.7, 0.7
K,32, 1.0, 0.4, 0.4
K,33, 1.0, 1.0, 0.4
K,34, 0.4, 1.0, 0.4
K,35, 0.4, 1.0, 1.0
K,36, 0.4, 0.4, 1.0
K,37, 1.0, 0.4, 1.0
! L=0.9
K,41, 0.9, 0.9, 0.9
K,42, 1.0, 0.8, 0.8
K,43, 1.0, 1.0, 0.8
K,44, 0.8, 1.0, 0.8
K,45, 0.8, 1.0, 1.0
K,46, 0.8, 0.8, 1.0
K,47, 1.0, 0.8, 1.0
A,(1:41:10),(2:42:10),(3:43:10)
A,(1:41:10),(3:43:10),(4:44:10)
A,(1:41:10),(4:44:10),(5:45:10)
A,(1:41:10),(5:45:10),(6:46:10)
A,(1:41:10),(6:46:10),(7:47:10)
A,(1:41:10),(7:47:10),(2:42:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment