Influence of fluids on earthquakes based on numerical modeling