|
From: Angelos K. <akl...@gm...> - 2025-02-07 16:57:29
|
Hello Bryan, What you will need to do is to set a custom inlet. So, when you have your data points then you create a file as described in the fix_emit_face_file command of the manual I am attaching a sample file so that you can see the structure. In that file you define the points and for each point velocity, number density, temperature etc. SPARTA will also perform any interpolations needed taking into account the point in the files and your simulation domain grid. Unfortunately I didn't find the input file for that simulation but I have attached a sample file which might help. Best regards, Angelos On Wed, Feb 5, 2025 at 6:32 PM Woode, Bryan [US] (DS) <Bry...@ng...> wrote: > Hi Angelos, > > Following up on this, I have a few questions for you: > > - How would I invoke the interpolated surface file using the emit/surf > command? > - Is there a specific format that you had your flowfield variables in > so that you could read them in your python script? > - Additionally, how are the number densities, temperatures, and > pressures specified within the SPARTA input file? > - Would you mind sharing your SPARTA input file as an example? > > Thank you, > > *Bryan Woode* > ------------------------------ > *From:* Angelos Klothakis <akl...@gm...> > *Sent:* Thursday, December 5, 2024 05:34 > *To:* Ramakrishnan, Sekaripuram [US] (DS) (Contr) < > Sek...@ng...> > *Cc:* spa...@li... < > spa...@li...> > *Subject:* EXT :Re: [sparta-users] CFD - SPARTA one-way coupling. > > Hi Rama, > > I have used this capability of SPARTA. This is how I did it: > > First, from my CFD data and using a post processing software I used a 2d > Cartesian grid (plane) to extract the data from a specific location of the > CFD solution. > > Then after saving the node coordinates of my cartesian grid in two > separate files and the values I got from my cfd simulation in another file, > I used the Python script > attached to create the input file required by SPARTA. The Python script > might require some tuning cause it's been a while since last time I used it. > > I am also attaching a small sample input file for your reference. > > Hope this helps. > > Best, > Angelos > > On Thu, Dec 5, 2024 at 12:29 AM Ramakrishnan, Sekaripuram [US] (DS) > (Contr) <Sek...@ng...> wrote: > > Specifically, I am looking for an example for the following capability: > > > > > > *From:* Ramakrishnan, Sekaripuram [US] (DS) (Contr) > *Sent:* Tuesday, December 3, 2024 8:54 AM > *To:* spa...@li... > *Subject:* CFD - SPARTA one-way coupling. > > > > Is there a sample input for performing a simulation with CFD generated > Kn=0.01 surface as a boundary surface in SPARTA with all the required > dependent variables interpolated onto the surface from CFD solution? > > > > Also, does version Sept24 include such a capability? > > > > My colleague Bryan Woode and I are ready to start investigating use of > SPARTA for performing such a simulation and a sample input will go a long > way in making it easier for us to do that. > > > > Rama > _______________________________________________ > sparta-users mailing list > spa...@li... > https://lists.sourceforge.net/lists/listinfo/sparta-users > > |