# SGSFN¶

SGSFN is followed by a table with two columns, in which the first is the gas phase saturation ($$S_g$$), the second is the pure-solvent relative permeability in water ($$K_{rsw}$$). The table must be terminated by a / or END. The SGSFN table is used only for the COMP3 mode and if the composition-dependent saturation functions option (COMP_DEP_SFNS) has been activated. If COMP_DEP_SFNS is active and SGSFN is not found in the input, the code will take the relative permeability for pure solvent in water from SGFN, treating it like gas. An example of the table is shown below:

SGSFN
0.0 0
0.05 0
0.8 1.0
/


The first gas saturation entry is the gas connate saturation, $$S_{gco}$$ (usually zero, as in the example), the largest value of the gas saturation for which the gas relative permeability is zero is the gas residual saturation $$S_{gcr}$$ (in the example above $$0.05$$). The largest gas saturation value in the table is the maximum gas saturation, $$S_{g,\mbox{max}}$$, usually $$1−S_{wcon}$$, ($$0.8$$ in the example). $$S_g$$ must increase monotonically. $$K_{rsw}$$ can be constant or increase as $$S_g$$ increases.
{"ft_lang_label":"__label__en","ft_lang_prob":0.83217895,"math_prob":0.9994901,"size":1136,"snap":"2023-40-2023-50","text_gpt3_token_len":322,"char_repetition_ratio":0.15547703,"word_repetition_ratio":0.0,"special_character_ratio":0.278169,"punctuation_ratio":0.116071425,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9985032,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-29T23:04:55Z\",\"WARC-Record-ID\":\"<urn:uuid:0384e27b-23c3-41ff-a1ec-3e95ed24251b>\",\"Content-Length\":\"15745\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9e07098c-c817-4770-a66f-39709cb6469d>\",\"WARC-Concurrent-To\":\"<urn:uuid:b27bc499-63a9-4875-b297-e0b32dd45b5a>\",\"WARC-IP-Address\":\"13.32.208.57\",\"WARC-Target-URI\":\"https://docs.opengosim.com/manual/input_deck/charcurves/sgsfn/\",\"WARC-Payload-Digest\":\"sha1:SPG7P2JCPHXKRGK4VEFXMWZ6NCMQIFVI\",\"WARC-Block-Digest\":\"sha1:UUAJH245NPM2GA5NE2WCUKCEGQLV4HCI\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510529.8_warc_CC-MAIN-20230929222230-20230930012230-00019.warc.gz\"}"}