CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Import solution from another simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Ubuntu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2018, 07:37
Default Import solution from another simulation
  #1
New Member
 
Soonseok Soong
Join Date: Sep 2018
Posts: 2
Rep Power: 0
sssong0409@gmail.com is on a distinguished road
Hi, I am trying to plot a pressure difference of two simulations on the body in a 3D scene. (two simulations using the same mesh, but different conditions hence different pressure distributions)

I tried to import the solution and subtract the pressure fields, but I couldn't as they are in different regions (original region and imported region).
And, I tried to map the field function of the imported region (pressure) into the original region, but there is an error ("INPUT ERROR: Choose source fields for mapping.")

Does anyone know how to do it or any tutorials?

Thank you
sssong0409@gmail.com is offline   Reply With Quote

Old   September 8, 2018, 23:12
Smile A suggestion!
  #2
New Member
 
Ubuntu's Avatar
 
Siddharth
Join Date: Jul 2018
Posts: 26
Rep Power: 5
Ubuntu is on a distinguished road
Quote:
Originally Posted by sssong0409@gmail.com View Post
I am trying to plot a pressure difference of two simulations on the body in a 3D scene. (two simulations using the same mesh, but different conditions hence different pressure distributions)
Hi Soonseok,

Say you have simulations Sim1 and Sim2 with same mesh but different conditions. Try the following.
1. Export the 'solution data only' from Sim1. (select your desired functions) Say, Sim1_sol.
2. Export the 'mesh data only' from Sim2. Say, Sim2_mesh.
3. Import Sim1_sol to Sim2.
4. You will see new field functions generated in Sim2.
5. Write one field function to find the difference (like $newPressure-$Pressure)
6. Create a scalar scene with your field function.
Hope this helps!
Abhishek Shingala likes this.
Ubuntu is offline   Reply With Quote

Old   September 10, 2018, 06:19
Smile
  #3
New Member
 
Soonseok Soong
Join Date: Sep 2018
Posts: 2
Rep Power: 0
sssong0409@gmail.com is on a distinguished road
Quote:
Originally Posted by Ubuntu View Post
Hi Soonseok,

Say you have simulations Sim1 and Sim2 with same mesh but different conditions. Try the following.
1. Export the 'solution data only' from Sim1. (select your desired functions) Say, Sim1_sol.
2. Export the 'mesh data only' from Sim2. Say, Sim2_mesh.
3. Import Sim1_sol to Sim2.
4. You will see new field functions generated in Sim2.
5. Write one field function to find the difference (like $newPressure-$Pressure)
6. Create a scalar scene with your field function.
Hope this helps!
Thank you very much for your reply, I have solve the problem with another solution though.

The problem was I cannot subtract the field functions because they were in different regions, that is why I was trying to map the field function into another region (imported region to original region).

When I tried to map the solution using 'right click' in the imported part tree, I couldn't do this for an error I don't understand, but when I tried the same thing at 'Tools-Data Mappers' I could manage to do this. (I don't know what is the difference between two as I put the same input part, target part, target field function, etc.)

Thank you.
sssong0409@gmail.com is offline   Reply With Quote

Old   September 10, 2018, 06:48
Thumbs up
  #4
New Member
 
Ubuntu's Avatar
 
Siddharth
Join Date: Jul 2018
Posts: 26
Rep Power: 5
Ubuntu is on a distinguished road
Glad to hear that your problem is solved
Ubuntu is offline   Reply With Quote

Old   May 29, 2020, 09:34
Default
  #5
New Member
 
Abhishek Shingala
Join Date: May 2020
Posts: 1
Rep Power: 0
Abhishek Shingala is on a distinguished road
Quote:
Originally Posted by Ubuntu View Post
Hi Soonseok,

Say you have simulations Sim1 and Sim2 with same mesh but different conditions. Try the following.
1. Export the 'solution data only' from Sim1. (select your desired functions) Say, Sim1_sol.
2. Export the 'mesh data only' from Sim2. Say, Sim2_mesh.
3. Import Sim1_sol to Sim2.
4. You will see new field functions generated in Sim2.
5. Write one field function to find the difference (like $newPressure-$Pressure)
6. Create a scalar scene with your field function.
Hope this helps!
How can I import solution data (Sim1_sol)? and what is the use of mesh which is exported from sim2(Sim2_mesh)?
Abhishek Shingala is offline   Reply With Quote

Reply

Tags
data maaping, import solution

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using solution of a complete simulation in order to simulate just an extract bench_ STAR-CCM+ 0 December 12, 2017 12:06
[General] Plotting solution vector from Matlab in Paraview crg123 ParaView 0 November 20, 2016 12:19
Unsteady simulation with steady solution as initial value kiddmax OpenFOAM Running, Solving & CFD 8 August 20, 2015 05:12
Zero mass flow rate and non converging solution during fan simulation Bisht STAR-CCM+ 6 June 4, 2015 09:20
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 21:05.