Re: [Opm] About json (jsonObject) class in the "opm-common" module.

2018-10-22 Thread Ye Li
Hi Joakim,


Thanks so much for the answers and they helps a lot. It's much clear right now.


Best regards,



 Ye Li






From: Joakim Hove 
Sent: Monday, October 22, 2018 6:50 AM
To: Ye Li; opm@opm-project.org
Subject: Re: [Opm] About json (jsonObject) class in the "opm-common" module.


◆ This message was sent from a non-UWYO address. Please exercise caution when 
clicking links or opening attachments from external sources.



1, in the Class ParserKeyword,  a new data type "Json::JsonObject" was 
introduced.   I don't understand what the purpose for this new data.  If we 
just use Class ParserItem and Class ParserRecord, could the parse process be 
done?

In principle you do not need the Json; the whole purpose of the Json thing is 
to configure (compile time) the keywords which are recognized by the parser. 
The keywords are configured using json files: 
https://github.com/OPM/opm-common/tree/master/src/opm/parser/eclipse/share/keywords
 - the use of Json for this is an implementation detail, any other input 
format, or just plain C++ code could in principle have been instead. I am one 
of the main guilty behind that system, and personally I think it has worked 
well. Others might disagree.
[https://avatars3.githubusercontent.com/u/1827197?s=400=4]

OPM/opm-common
github.com
Common components for OPM, in particular build system (cmake). - OPM/opm-common






> 2, is the json in "opm-common" the same as the JSON (Open-Standard File 
> Format) ?


Yes

___
Opm mailing list
Opm@opm-project.org
https://opm-project.org/cgi-bin/mailman/listinfo/opm


Re: [Opm] Multiphase flow Tables App

2018-10-22 Thread Atgeirr Rasmussen
Hi Manoel,

I am not aware of any such software that is free or open source, unfortunately.

Atgeirr



Frå: Opm  på vegne av Manoel Farias 

Sendt: fredag 19. oktober 2018 21:10
Til: opm@opm-project.org
Emne: [Opm] Multiphase flow Tables App

Hi,

Does anybody know about any  freeware  for vertical multiphase flow (VFP)?

I would like to include these tables in a simulation model.

Thanks!

Manoel

___
Opm mailing list
Opm@opm-project.org
https://opm-project.org/cgi-bin/mailman/listinfo/opm


Re: [Opm] About json (jsonObject) class in the "opm-common" module.

2018-10-22 Thread Joakim Hove
> 1, in the Class ParserKeyword,  a new data type "Json::JsonObject" was
> introduced.   I don't understand what the purpose for this new data.  If we
> just use Class ParserItem and Class ParserRecord, could the parse process
> be done?
>

In principle you do not need the Json; the whole purpose of the Json thing
is to configure (compile time) the keywords which are recognized by the
parser. The keywords are configured using json files:
https://github.com/OPM/opm-common/tree/master/src/opm/parser/eclipse/share/keywords
- the use of Json for this is an implementation detail, any other input
format, or just plain C++ code could in principle have been instead. I am
one of the main guilty behind that system, and personally I think it has
worked well. Others might disagree.



> 2, is the json in "opm-common" the same as the JSON (Open-Standard File
Format) ?


Yes
___
Opm mailing list
Opm@opm-project.org
https://opm-project.org/cgi-bin/mailman/listinfo/opm