// Metodos TELA RELATORIO FINAL private void PreencheRelatorioLaje() { label104.Text = "Quantidade: " + Convert.ToString(Convert.ToInt32((laje.getLargura() * laje.getComprimento()) / (painelLaje.getLargura() * painelLaje.getComprimento()))) + " painéis."; label106.Text = "Espaçamento: " + textBox28.Text + " cm."; label102.Text = "Quantidade: " + Convert.ToString(2 + Convert.ToInt32(laje.getComprimento() / Convert.ToDouble(textBox28.Text))) + " painéis."; label108.Text = "Espaçamento: " + textBox29.Text + " cm."; label107.Text = "Quantidade: " + Convert.ToString(1 + Convert.ToInt32(laje.getLargura() / Convert.ToDouble(textBox29.Text))) + " pontaletes."; }
// Metodo Medianamente Esbelta public string MedianamenteEsbelta() { double forcaNormal, tensaoNormal; double momento1D, momentoD, tensaoMomento; double distanciaCentroide; double excentricidadeD, excentricidadeI, excentricidadeA; double cargaEuler; forcaNormal = 1.44 * concreto.getDensidade() * laje.getAltura() * (laje.getLargura() / 2.00) * Convert.ToInt32(painelLaje.DistanciaGuias()); tensaoNormal = forcaNormal / Area(); excentricidadeA = Math.Max(altura / 300.00, diametro / 30.00); momento1D = 0; cargaEuler = (Math.Pow(Math.PI, 2.00) * material.moduloElasticidadeEfetivo() * MomentoInercia()) / Math.Pow(altura, 2.00); excentricidadeI = Math.Max(momento1D / forcaNormal, diametro / 30.00); excentricidadeD = (excentricidadeI + excentricidadeA) * (cargaEuler / (cargaEuler - forcaNormal)); momentoD = forcaNormal * excentricidadeD; distanciaCentroide = diametro / 2.00; tensaoMomento = momentoD * distanciaCentroide / MomentoInercia(); if ((tensaoNormal + tensaoMomento) <= material.resistenciaCalculoCompressao()) { return("O pontalete é estável!"); } else { return("O pontalete não é estável! Deve-se aumentar a seção do mesmo ou escolher outro material!"); } }