Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
13 views

Python script for mix design

Uploaded by

YASHWANTH.M.K
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Python script for mix design

Uploaded by

YASHWANTH.M.K
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

# Concrete Mix Design Script

# Input values

cement_content = float(input("Enter cement content in kg/m3: "))

Supplementary_Cementitious_Material_Content= float(input("Enter supplementary cementitious


material content in kg/m3: "))

water_content = float(input("Enter water content in kg/m3: "))

fine_aggregate_content = float(input("Enter fine aggregate content in kg/m3: "))

coarse_aggregate_content = float(input("Enter coarse aggregate content in kg/m3: "))

admixture_content = float(input("Enter admixture content in kg/m3: "))

compressive_strength = float(input("Enter the target compressive strength in MPa: "))

# Constants

specific_gravity_of_cement = 3.15

specific_gravity_of_Supplementary_Cementitious_Material = 2.10

specific_gravity_of_fine_aggregate = 2.6

specific_gravity_of_coarse_aggregate = 2.65

# Calculations

total_aggregate_content = fine_aggregate_content + coarse_aggregate_content

water_cement_ratio = water_content / cement_content

cement_volume = cement_content / specific_gravity_of_cement

water_volume = water_content / 1000

fine_aggregate_volume = fine_aggregate_content / specific_gravity_of_fine_aggregate

coarse_aggregate_volume = coarse_aggregate_content / specific_gravity_of_coarse_aggregate

total_aggregate_volume = total_aggregate_content / specific_gravity_of_coarse_aggregate

admixture_volume = admixture_content / 1000

total_volume = cement_volume + water_volume + fine_aggregate_volume +


coarse_aggregate_volume + admixture_volume

compressive_strength_multiplier = 1.5 * ((compressive_strength / 28) ** 0.5)

# Results

print("Water-Cement Ratio:", water_cement_ratio)

print("Cement Volume (m3):", cement_volume)

print("Water Volume (m3):", water_volume)

print("Fine Aggregate Volume (m3):", fine_aggregate_volume)


print("Coarse Aggregate Volume (m3):", coarse_aggregate_volume)

print("Total Aggregate Volume (m3):", total_aggregate_volume)

print("Admixture Volume (m3):", admixture_volume)

print("Total Volume (m3):", total_volume)

print("Compressive Strength Multiplier:", compressive_strength_multiplier)

You might also like