|
[Sponsors] |
July 21, 2016, 12:25 |
Two phase Argon
|
#1 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Dear All, I’ve a bunch of question for you.
I’m working on the creation of a model in CFX. This model, involve the use of Argon in saturation condition. The argon, in liquid and vapor phase is confined in a cube 8x8x8 m3. This cube has an inlet and and outlet. I know the mass flow rate and I also know the Temperate at the inlet. The difficult and the issue is in the use of a Argon material. In the CFX-database, I found Arl, Arv, Arlv (binary mixture). The point is: I don’t understand if they are good or not for my case. I actually want to make my own .rgp table for saturation condition, since I know the argon is at Tsat = 87.178 K and psat = 1.0 bar. I've found a RGP file generator with FORTRAN, but still I'm figuring out how to make it... The table for Argon are available in NIST database, in case I should make a rgp file. May I ask you to guide me in the best choice for the material, in the build up of the table eventually and in the understanding of the value interpolated by the solver during running? Ping Robinson or Redlich Kwong? I include as attached file my session file and the File Output, which always give me this error: "Error in subroutine FNDVAR : Error finding variable TSAT_FL2 GETVAR originally called by subroutine cal_MASS +--------------------------------------------------------------------+ | ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | | Stopped in routine GV_ERROR " Thank you a lot, |
|
July 21, 2016, 12:44 |
|
#2 |
New Member
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14 |
As for me the best choice is to make RGP file - it would be the closest solution to the experimental one.
But be sure that you add some margin to boundary conditions in this file. |
|
July 22, 2016, 05:46 |
|
#3 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Thank you Demm,
as I mentioned, I've trouble in making a RGP file. I've found a Fortran code, as attached file, but I've still not figured out how to make it work and compile a rgp table... https://github.com/Everhusk/RGP-Gen May you have any guide for me? Thank you! |
|
July 26, 2016, 09:50 |
|
#4 | |
New Member
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14 |
Quote:
dsantand, this RGP generator works only for CO2. Moreover, you need NIST REFPROP fluid files for it for generating RGP. Do you have NIST? If so, I can give you modified generator which works with any fluids from NIST. Or just give me Tmin, Tmax, Pmin, Pmax for your project and I will make RGP file for you |
||
July 26, 2016, 09:54 |
|
#5 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Ehy Demm,
for sure I have NIST with RefPROP. I have as well all the fluids in FLD format. It would be great to have this generator, THANK YOU! Last edited by dsantand; July 26, 2016 at 12:20. |
|
July 27, 2016, 11:40 |
|
#6 |
New Member
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14 |
Here is link for downloading:
https://www.dropbox.com/s/of2iamv2hw...rator.rar?dl=0 When you unpack it you will see such structure: fluids - folder - put all your FLD files here Source_Code - folder - a source code of the program (Fortran) generator.exe - executable file - compiled program README.txt - text file - old help file Put all your FLD files to "fluids" folder and simply start "generator.exe". It is simple console application where you should specify your fluid and the boundary conditions for it. If have questions, please ask |
|
July 27, 2016, 12:15 |
|
#7 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Thank you a lot!
Dario |
|
July 27, 2016, 12:53 |
Error problem
|
#8 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Hey Demm,
once again, I've problem in the reading the file. Here is a snapshot of my current simulation 1. LEFT screen is the CFX model during determining the material, called as in the rgp file generated by me argon.fl. I've chosen LIQUID as thermodynamic state 2. Right TOP is the RGP file argonDario.rgp with the fluid name argon.fl 3. Right BOTTOM is the ERROR given by CFX-solver. I would appreciate a lot your help! Thank you Dario |
|
July 28, 2016, 12:02 |
|
#9 |
New Member
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14 |
Sorry, but I cannot see any error here. The bottom image is not the part of OUT file with error.
|
|
July 28, 2016, 12:16 |
|
#10 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: | | Could not open TASCflow RGP file. | | | | | | | | | | | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | | Encountered problem reading the RGP file header. | | | | | | | | | | | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | | Stopped in routine SU_PROPS_RGP | | | | | | | | | | | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | The ANSYS CFX partitioner exited with return code 1. | +--------------------------------------------------------------------+ |
|
August 1, 2016, 12:24 |
|
#11 |
New Member
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14 |
The most common error with RGP file is that CFX just didn't see it.
Are you sure that your RGP file (on the computer where you simulate) is in the directory you specified in Pre? Usually I put this file in the default directory: C:\Program Files\ANSYS Inc\v160\CFX\etc\materials-extra\realgas !! But in any case, be sure that RGP file is on the computer where you simulate and can be found by the link specified in Pre. |
|
August 1, 2016, 12:25 |
|
#12 |
New Member
Dario
Join Date: Jul 2016
Posts: 7
Rep Power: 10 |
Thank you!
|
|
October 24, 2018, 04:00 |
|
#13 | |
New Member
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 8 |
Quote:
Last edited by LUO DAN; October 24, 2018 at 08:57. |
||
Tags |
cfx, rgp file, two phase evaporation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 17:12 |
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam | xpqiu | OpenFOAM Community Contributions | 8 | June 17, 2015 03:08 |
iteration questions in discrete phase | iknowjesus | FLUENT | 4 | March 13, 2015 07:07 |
Three Phase flow into a reservoir... | akjha | Main CFD Forum | 0 | December 15, 2014 08:01 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |