I have two volumes created by STLs. Every time an optic photon enters the system error at the bottom of the image occurs. I would love to here advices of any sort. I can always share more information about the volumes if needed. Thanks in advance.
LG Volume is using a material defined like this:
// Define PMMA
G4double densityLG = 1.190 * g/cm3;//https://eljentechnology.com/images/products/data_sheets/Light_Guides_and_Acrylic_Plastic.pdf
LG= new G4Material("LG", densityLG, 3);
LG->AddElement(H, 0.0806);//https://eljentechnology.com/images/products/data_sheets/Light_Guides_and_Acrylic_Plastic.pdf
LG->AddElement(C, 0.600);
LG->AddElement(O, 0.319);
mptLG = new G4MaterialPropertiesTable();
const G4int nEntries_LG = 20;
G4double photonEnergy_LG[nEntries_LG] = {2.239*eV, 2.264*eV, 2.290*eV, 2.316*eV, 2.343*eV,
2.371*eV, 2.399*eV, 2.428*eV, 2.457*eV, 2.488*eV,
2.519*eV, 2.551*eV, 2.584*eV, 2.618*eV, 2.651*eV,
2.687*eV, 2.723*eV, 2.760*eV, 2.799*eV, 2.838*eV}; //source: https://refractiveindex.info/?shelf=organic&book=poly(methyl_methacrylate)&page=Sultanova
G4double Absorption_LG[nEntries_LG] =
{500.*cm, 500.*cm, 500.*cm, 500.*cm, 500.*cm,
500.*cm, 500.*cm, 500.*cm, 500.*cm, 500.*cm,
500.*cm, 500.*cm, 500.*cm, 500.*cm, 500.*cm,
500.*cm, 500.*cm, 500.*cm, 500.*cm, 500.*cm};
//Buradan Absorbance'ın ne olduğu öğrenildi ve farklı PMMA değerli için olan grafiği elde edildi ve kullanıldı: https://www.researchgate.net/publication/268812499_Study_of_the_optical_properties_of_poly_methyl_methacrylate_PMMA_doped_with_a_new_diarylethen_compound
G4double refractiveIndex_LG[nEntries_LG] =
{1.4923750573264, 1.4927341243093,1.4931000625685, 1.4934855013926, 1.4938786637052,
1.4942931534457, 1.4947163429268, 1.4951629159378, 1.4956193105824, 1.4961014106014,
1.4965946258579, 1.4971161777103, 1.4976503417391, 1.498215835395, 1.4987956800739,
1.4994102725825, 1.5000412441879, 1.500710884023, 1.5013992786673, 1.5021308583767}; //source: https://refractiveindex.info/?shelf=organic&book=poly(methyl_methacrylate)&page=Sultanova
mptLG->AddProperty("RINDEX", photonEnergy_LG,refractiveIndex_LG,nEntries_LG);
mptLG->AddProperty("ABSLENGTH", photonEnergy_LG,Absorption_LG,nEntries_LG);
LG->SetMaterialPropertiesTable(mptLG);
Geant4 Version:11.1.0
Operating System:Ubuntu 20.04
Compiler/Version:
CMake Version:4.1.1