def create_wall_st_inputs(steady_state_ac,
                          temperature,
                          micro_contact_angle,
                          phase_at_center,
                          gravity_ac,
                          gravity_amp,
                          model_input,
                          spherical_cap             = False,
                          inputs_wall_modified      = 'inputs_wall.txt',
                          nb_pts_in_interface       = nb_pts_in_interface_default,
                          ratio_bubble_interface    = ratio_bubble_interface_default,
                          ratio_eq_length_domain    = ratio_eq_length_domain_default,
                          ratio_drop_length_domain  = ratio_drop_length_domain_default,
                          CFL_constant              = CFL_constant_default,
                          total_nb_files            = total_nb_files_default):
    '''
    @description:
    create the small and large domain inputs for the simulation    
    '''

    # determine the inputs to be modified in
    # template.txt to run the simulation on
    # small and large scale domains
    inputs_wall = get_inputsToBeModified(
        steady_state_ac,
        temperature,
        micro_contact_angle,
        phase_at_center,
        gravity_ac,
        gravity_amp,
        nb_pts_in_interface,
        ratio_bubble_interface,
        ratio_eq_length_domain,
        ratio_drop_length_domain,
        CFL_constant,
        total_nb_files,
        spherical_cap=spherical_cap)
    

    # create the input file for the small
    # domain simulation
    create_inputFile(inputs_wall,
                     model_input,
                     inputs_wall_modified)

    return
def create_bb_tr_inputs(temperature,
                        flow_velocity,
                        ratio_interface_separation,
                        model_input,
                        flow_direction            = 'x',
                        output_file               = 'inputs.txt',
                        dct_distance              = dct_distance_default,
                        md_threshold_ac           = md_threshold_ac_default,
                        md_threshold              = md_threshold_default,
                        nb_pts_in_interface       = nb_pts_inside_interface_required,
                        ratio_bubble_interface    = ratio_bubble_interface_default,
                        CFL_constant              = CFL_constant_default,
                        ratio_interface_influence = ratio_interface_influence_default,
                        total_nb_files            = total_nb_files_default):
    """Create the text input file to run the simulation with
    two bubbles transported by the mean flow

    Args:
        temperature (double) : mean flow temperature
        flow_velocity (double) : mean flow velocity
        ratio_interface_separation (double) : length (expressed as
            a fraction of the width of the interface) separating the
           two bubbles
        model_input (string) : path for the input file whose input
            parameters are modified for the simulation of two bubbles
            transported by the flow
        flow_direction (string) : flow direction (either 'x' or 'y')
        output_file (string) : path for the output file
        dct_distance (int) : distance between the detectors and
           the boundary expressed as a number of gridpoints
        md_threshold_ac (int) : activate the increase of the computational
           domain with a mass density threshold
        md_threshold (double) : mass density threshold to activate the
           increase of the computational domain (between 0 and 1)
        nb_pts_in_interface (int) : number of grid-points needed
            to resolve the interface profile
        ratio_bubble_interface (double) : ratio between bubble
           diameter and interface width
        CFL_constant (double) : CFL threshold (0-1)
        ratio_interface_influence (double) : length threshold
           (expressed as a fraction of the width of the interface)
           above which the interface is not supposed to interact
           with the border
        total_nb_files (int) : total nb of files written
        
    Returns:
        None
    """

    # determine the inputs to be modified in
    # template.txt to run the simulation
    inputs = compute_inputsToBeModified(temperature,
                                        flow_velocity,
                                        nb_pts_in_interface,
                                        ratio_interface_separation,
                                        ratio_bubble_interface,
                                        ratio_interface_influence,
                                        CFL_constant,
                                        total_nb_files,
                                        dct_distance,
                                        md_threshold_ac,
                                        md_threshold,
                                        flow_direction=flow_direction)
    

    # create the input file for the simulation
    create_inputFile(inputs,
                     model_input,
                     output_file)

    return