Text this: Simulation of Natural Gas Pipeline Networks Based on Roughness Optimization Algorithm and Global Mesh Refinement